From 3daa28e0982a51a0839bf7534e0d7ed0e274125b Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Thu, 21 Mar 2024 13:44:34 -0400 Subject: [PATCH] add echo statements to buildkite --- .buildkite/scripts/image-util.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.buildkite/scripts/image-util.sh b/.buildkite/scripts/image-util.sh index c9cfb77..e9c0ff4 100755 --- a/.buildkite/scripts/image-util.sh +++ b/.buildkite/scripts/image-util.sh @@ -35,16 +35,19 @@ build_image() { local commit_tag=$1 local base_commit=$2 + echo ":: Building amd64 image" docker build \ + --progress=plain \ -t "${commit_tag}-amd64" \ - --load \ --label BRANCH_NAME="${BUILDKITE_BRANCH}" \ --label GIT_SHA="${base_commit}" \ --label GO_VERSION="${GOLANG_VERSION}" \ --label TIMESTAMP="$(date +%Y-%m-%d_%H:%M)" \ . + echo ":: Building arm64 image" docker buildx build \ + --progress=plain \ --platform linux/arm64 \ -t "${commit_tag}-arm64" \ --load \ @@ -54,6 +57,7 @@ build_image() { --label TIMESTAMP="$(date +%Y-%m-%d_%H:%M)" \ . + echo ":: Building multi-arch image" docker manifest create "${commit_tag}" \ --amend "${commit_tag}-amd64" \ --amend "${commit_tag}-arm64"