Skip to content

Commit

Permalink
Update buiold scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrdrew committed Nov 6, 2023
1 parent 86257be commit e321d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ if [[ "$VALID_TAGS_LENGTH" -eq 0 ]]; then
fi
#### End

docker buildx use multiarchbuilder
docker --config="$DOCKER_CONF" buildx build --platform linux/amd64,linux/arm64 --build-arg BASE_IMAGE="$BASE_IMG" -t "${IMAGE}:${IMAGE_TAG}" --push .
1 change: 1 addition & 0 deletions pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ docker rm -f $CONTAINER_NAME-run
# This confused me for a while because pr_check_inner.sh is also copied into the pr check container at build time
# but the template_check.sh isn't. I couldn't figure out how it was sourcing it

docker buildx use multiarchbuilder
docker buildx build --platform linux/amd64,linux/arm64 -t $CONTAINER_NAME -f build/Dockerfile.pr .
docker buildx build --load -t $CONTAINER_NAME -f build/Dockerfile.pr .

Expand Down

0 comments on commit e321d51

Please sign in to comment.