Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 12, 2023
1 parent 676a0be commit 6750c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bootstrap_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if [ -z "$PROJECT_NAME" ]; then
fi

source ./build-system/scripts/setup_env $COMMIT_HASH '' mainframe_$USER
docker buildx create --name multi-platform-builder --bootstrap --use
build_local $PROJECT_NAME $ONLY_TARGET

if [ -z "$PROJECT_NAME" ]; then
Expand Down
2 changes: 1 addition & 1 deletion build-system/scripts/build_local
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for E in ${PROJECTS[@]}; do
echo "*** Building $PROJECT_DIR_NAME:$DOCKERFILE -> $REPO ***"
echo

time docker build ${ADDITIONAL_ARGS:-} --build-arg ARG_COMMIT_HASH=$COMMIT_HASH -f $DOCKERFILE -t $ECR_DEPLOY_URL/$REPO:latest .
time docker buildx build --platform linux/arm64,linux/amd64 ${ADDITIONAL_ARGS:-} --build-arg ARG_COMMIT_HASH=$COMMIT_HASH -f $DOCKERFILE -t $ECR_DEPLOY_URL/$REPO:latest .
retry docker tag $ECR_DEPLOY_URL/$REPO:latest aztecprotocol/$REPO:latest

if [ -n "$LAUNCH" ]; then
Expand Down

0 comments on commit 6750c89

Please sign in to comment.