From 0205d1bb637173932d8d551cb257cb0f09104439 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 3 Mar 2024 00:04:28 +0100 Subject: [PATCH] add debug print --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index cc22014..65b0a84 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -103,6 +103,7 @@ if [ -n "$INPUT_PLATFORMS" ]; then DIGESTS="" for platform in $platformArray; do digest=$(head -n 1 "/build/${platformFn}_image-tag-digest") + echo "pushing img $digest" crane push "/build/${platformFn}.tar" "$digest" DIGESTS="$DIGESTS -m $digest" done @@ -113,6 +114,7 @@ if [ -n "$INPUT_PLATFORMS" ]; then fi manifest_cmd="crane index append $TAGS $DIGESTS" + echo "building manifest: $manifest_cmd" IMAGE_TAG_DIGEST=$(eval "$manifest_cmd") else # Build and push image for the default platform