Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
multi-tagging to support previous versions.
  • Loading branch information
yarons authored Jun 28, 2024
1 parent 3274e58 commit 4c2455e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ jobs:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --name builder --driver docker-container --use
docker buildx inspect --bootstrap
docker buildx build --platform=linux/arm64,linux/amd64 . --file Dockerfile --build-arg PTZTAG=$PTZTAG --tag $BASE_IMAGE_ID --push --label "runnumber=${GITHUB_RUN_ID}"
docker buildx build --platform=linux/arm64,linux/amd64 . --file Dockerfile --build-arg PTZTAG=$PTZTAG --tag $BASE_IMAGE_ID:$PTZTAG --tag $BASE_IMAGE_ID:latest --push --label "runnumber=${GITHUB_RUN_ID}"
cd bastion
docker buildx build --platform=linux/arm64,linux/amd64 . --file Dockerfile --tag $BASTION_IMAGE_ID --push --label "runnumber=${GITHUB_RUN_ID}"
docker buildx build --platform=linux/arm64,linux/amd64 . --file Dockerfile --tag $BASTION_IMAGE_ID:$PTZTAG --tag $BASE_IMAGE_ID:latest --push --label "runnumber=${GITHUB_RUN_ID}"

0 comments on commit 4c2455e

Please sign in to comment.