Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions release-image/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ case "$cmd" in
cd ..
denoise "docker build -f release-image/Dockerfile -t aztecprotocol/aztec:$(git rev-parse HEAD) ."
docker tag aztecprotocol/aztec:$(git rev-parse HEAD) aztecprotocol/aztec:latest
if [ "$REF_NAME" == "master" ] && [ "$CI" -eq 1 ]; then
if [ "$REF_NAME" == "master" ] && [ "${CI:-0}" -eq 1 ]; then
docker tag aztecprotocol/aztec:$COMMIT_HASH aztecprotocol/aztec:$COMMIT_HASH-$(arch)
do_or_dryrun docker push aztecprotocol/aztec:$COMMIT_HASH-$(arch)
fi
Expand All @@ -20,7 +20,7 @@ case "$cmd" in
do_or_dryrun docker push aztecprotocol/aztec:${REF_NAME}-$(arch)

# If doing a release in CI, update the remote manifest if we're the arm build.
if [ "${DRY_RUN:-0}" == 0 ] && [ "$(arch)" == "arm64" ] && [ "$CI" -eq 1 ]; then
if [ "${DRY_RUN:-0}" == 0 ] && [ "$(arch)" == "arm64" ] && [ "${CI:-0}" -eq 1 ]; then
# Wait for amd64 image to be available.
while ! docker manifest inspect aztecprotocol/aztec:${REFNAME}-$(arch) &>/dev/null; do
echo "Waiting for amd64 image to be pushed..."
Expand Down