diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e20d88e..01165e3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -20,14 +20,12 @@ jobs: uses: docker/setup-buildx-action@v2 with: # replace it with your local IP config-inline: | - [registry."192.168.0.29:3000"] - http = true - insecure = true + [registry."harbor.realm.local"] - name: Login to DockerHub uses: docker/login-action@v2 with: - registry: 192.168.0.29:3000 # replace it with your local IP + registry: harbor.realm.local # replace it with your local IP username: ${{ secrets.REGUSERNAME }} password: ${{ secrets.REGPASSWORD }} @@ -44,5 +42,7 @@ jobs: file: ./Dockerfile push: true tags: | # replace it with your local IP and tags - 192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} - 192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} + #192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} + #192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} + harbor.realm.local/library/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} + harbor.realm.local/library/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}