From 57b6819415fa943c05ba22ea1ef4a5aaf7330439 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sat, 2 Mar 2024 23:03:12 +0100 Subject: [PATCH] adjust outputs --- entrypoint.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e0fbf06..8f0f93f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -95,7 +95,7 @@ runKaniko() { if [ -n "$INPUT_PLATFORMS" ]; then # Build image for all platforms, then push the manifest platformArray=$(echo "$INPUT_PLATFORMS" | sed 's/,/ /g' ) - echo "Building for the following platforms: $platformArray" + echo "⚒️ Building image $IMAGE for the following platforms: $platformArray" for platform in $platformArray; do echo; echo "📦 Building image for $platform" @@ -128,6 +128,8 @@ if [ -n "$INPUT_PLATFORMS" ]; then IMAGE_TAG_DIGEST=$(eval "$manifest_cmd") else # Build and push image for the default platform + echo "⚒️ Building image $IMAGE" + DESTINATION="--destination $IMAGE" if [ -n "$IMAGE_LATEST" ]; then DESTINATION="$DESTINATION --destination $IMAGE_LATEST" @@ -144,4 +146,5 @@ echo "image=$IMAGE" >> "$GITHUB_OUTPUT" echo "digest=$DIGEST" >> "$GITHUB_OUTPUT" echo "image-tag-digest=$IMAGE_TAG_DIGEST" >> "$GITHUB_OUTPUT" -echo "🎉 Successfully deployed $IMAGE_TAG_DIGEST" +echo "🎉 Successfully deployed $IMAGE" +echo "Digest: $DIGEST"