diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 89e39d97..2ad1d424 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -66,7 +66,7 @@ jobs: password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }} registry: registry.internal.huggingface.tech - name: Login to Azure Container Registry -# if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' uses: docker/login-action@v2.1.0 with: username: ${{ secrets.AZURE_DOCKER_USERNAME }} @@ -80,8 +80,8 @@ jobs: latest=auto images: | registry.internal.huggingface.tech/api-inference/community/text-generation-inference -# ghcr.io/huggingface/text-generation-inference -# db4c2190dd824d1f950f5d1555fbadf0.azurecr.io/text-generation-inference + ghcr.io/huggingface/text-generation-inference + db4c2190dd824d1f950f5d1555fbadf0.azurecr.io/text-generation-inference tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} @@ -93,8 +93,7 @@ jobs: with: context: . file: Dockerfile -# push: ${{ github.event_name != 'pull_request' }} - push: true + push: ${{ github.event_name != 'pull_request' }} platforms: 'linux/amd64' build-args: | GIT_SHA={{ env.GITHUB_SHA }}