From 407492aa7b8298dd5ae2a901f16732a1c956c1c9 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Tue, 18 Feb 2025 13:14:28 +0100 Subject: [PATCH] Fix build. --- .github/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d0f69e8..864532ef 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -137,6 +137,7 @@ jobs: install: true buildkitd-config: /tmp/buildkitd.toml - name: Login to internal Container Registry + if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: username: ${{ secrets.REGISTRY_USERNAME }} @@ -169,7 +170,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - docker.io/library/huggingface/text-generation-inference-ci + docker.io/huggingface/text-generation-inference-ci tags: | type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }} # If main, release or tag