From 464643883d6158ed53ecec0c2ef8d537a504d8aa Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 3 Mar 2024 00:18:05 +0100 Subject: [PATCH] fix: set IFS temporarily --- entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 65b0a84..66cbaa5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -74,10 +74,9 @@ crane auth login "$REGISTRY" -u "$USERNAME" -p "$PASSWORD" runKaniko() { # https://github.com/GoogleContainerTools/kaniko/issues/1803 # https://github.com/GoogleContainerTools/kaniko/issues/1349 - IFS='' kaniko_cmd="executor ${1} --reproducible --force" echo "Running kaniko command: ${kaniko_cmd}" - eval "${kaniko_cmd}" + IFS='' eval "${kaniko_cmd}" } if [ -n "$INPUT_PLATFORMS" ]; then @@ -114,7 +113,7 @@ if [ -n "$INPUT_PLATFORMS" ]; then fi manifest_cmd="crane index append $TAGS $DIGESTS" - echo "building manifest: $manifest_cmd" + echo "Building manifest: $manifest_cmd" IMAGE_TAG_DIGEST=$(eval "$manifest_cmd") else # Build and push image for the default platform