Skip to content

Commit

Permalink
Missed something
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrdrew committed Nov 16, 2023
1 parent c123bc1 commit 169cbf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ fi
if docker buildx ls | grep -q "multiarchbuilder"; then
echo "Using multiarchbuilder for buildx"
# Multi-architecture build
docker buildx build --platform linux/amd64,linux/arm64 -t "${IMAGE}:${IMAGE_TAG}" --push .
docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE_IMAGE="${BASE_IMG}" -t "${IMAGE}:${IMAGE_TAG}" --push .
else
echo "Falling back to standard build and push"
# Standard build and push
docker build -t "${IMAGE}:${IMAGE_TAG}" .
docker build -t "${IMAGE}:${IMAGE_TAG}" --build-arg BASE_IMAGE="${BASE_IMG}" .
docker push "${IMAGE}:${IMAGE_TAG}"
fi

0 comments on commit 169cbf7

Please sign in to comment.