From d0542d2f76559d755b592148c7626419ac91e273 Mon Sep 17 00:00:00 2001 From: ange Date: Thu, 28 Nov 2024 03:58:54 +0000 Subject: [PATCH] fix: allow / in image name --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index fb6f95a..86c6e3d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,7 +15,7 @@ EOF if [ -z "$IMAGEAPP" ]; then REGISTRY="$(echo "$GITHUB_SERVER_URL" | sed 's .*:// ')" - IMAGEAPP="$REGISTRY/$(printf '%s' "$INPUT_IMAGE" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-:_' _)" + IMAGEAPP="$REGISTRY/$(printf '%s' "$INPUT_IMAGE" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)" fi /kaniko/executor \