From 3652d82fd7b28d20d107bb217a5dda584e911ace Mon Sep 17 00:00:00 2001 From: OlivierDehaene <23298448+OlivierDehaene@users.noreply.github.com> Date: Wed, 19 Apr 2023 20:00:19 +0200 Subject: [PATCH] revert build --- .github/workflows/build.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 }}