Skip to content

Commit

Permalink
add echo statements to buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Mar 21, 2024
1 parent ae46261 commit 3daa28e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .buildkite/scripts/image-util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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"
Expand Down

0 comments on commit 3daa28e

Please sign in to comment.