diff --git a/entrypoint.sh b/entrypoint.sh index 8f0f93f..e1dc8b8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -105,7 +105,7 @@ if [ -n "$INPUT_PLATFORMS" ]; then DESTINATION="--no-push --tarPath /build/${platformFn}.tar --destination $IMAGE" DIGEST="--image-name-tag-with-digest-file=/build/${platformFn}_image-tag-digest" - runKaniko "${ARGS} $DESTINATION $DIGEST" + runKaniko "${ARGS} --custom-platform=${platform} $DESTINATION $DIGEST" echo "✅ $platform image built: $(head -n 1 "/build/${platformFn}_image-tag-digest")" done