From 3749caf0ddf8f60d9d758fe50f32a7a41cae0dc5 Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Wed, 30 Oct 2024 09:42:40 -0700 Subject: [PATCH] Set VERSION env var in workflow when building Antrea images for tag (#6776) If VERSION is not set, make will not use the correct tag, and the job will fail. Signed-off-by: Antonin Bas --- .github/workflows/build_tag.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_tag.yml b/.github/workflows/build_tag.yml index 85c881c3357..0c0b33cd775 100644 --- a/.github/workflows/build_tag.yml +++ b/.github/workflows/build_tag.yml @@ -48,6 +48,7 @@ jobs: env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + VERSION: ${{ needs.get-version.outputs.version }} run: | ./hack/build-antrea-linux-all.sh --platform ${{ matrix.platform }} --pull echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin