From 2dd5475afbd7067b06cd37f72f0b6b8aab100264 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 3 Mar 2024 00:26:52 +0100 Subject: [PATCH] fix: update platformFn --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b475fee..55a75f6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -105,8 +105,10 @@ if [ -n "$INPUT_PLATFORMS" ]; then DIGESTS="" for platform in $platformArray; do + platformFn=$(echo "$platform" | sed 's#/#-#g') digest=$(head -n 1 "/build/${platformFn}_image-tag-digest") - echo "pushing img $digest" + + echo "Pushing $platform img $digest" crane push "/build/${platformFn}.tar" "$digest" DIGESTS="$DIGESTS -m $digest" done