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"