From 9358d0bdf89f2ef5858de6603e3a51044024b593 Mon Sep 17 00:00:00 2001 From: Magdy Saleh <17618143+magdyksaleh@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:43:58 +0000 Subject: [PATCH] Only use sha tag for running int tests (#674) --- .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 4cf62c856..52ebd77d1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -126,8 +126,9 @@ jobs: - name: Run integration tests uses: ./.github/workflows/integration-tests + if: ${{ github.ref == 'refs/heads/main' }} with: - test_image_tag: ${{ steps.meta.outputs.tags }} + test_image_tag: ${{ steps.meta.outputs.tags[0] }} use_local_image: true github_token: ${{ secrets.GHCR_PAT }} huggingface_token: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}