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