Skip to content

Commit 3749caf

Browse files
authored
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 <[email protected]>
1 parent a6300d1 commit 3749caf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_tag.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
env:
4949
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
5050
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
51+
VERSION: ${{ needs.get-version.outputs.version }}
5152
run: |
5253
./hack/build-antrea-linux-all.sh --platform ${{ matrix.platform }} --pull
5354
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

0 commit comments

Comments
 (0)