diff --git a/entrypoint.sh b/entrypoint.sh index 632bbbd..a078358 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,10 +15,7 @@ EOF if [ -z "$IMAGEAPP" ]; then REGISTRY="$(echo "$GITHUB_SERVER_URL" | sed 's .*:// ')" - printf '%s' "$INPUT_IMAGE" - printf '%s' "$INPUT_IMAGE" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _ - printf '%s' "$INPUT_IMAGE" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-:_' _ - IMAGEAPP="$REGISTRY/$(printf '%s' "$INPUT_IMAGE" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)" + IMAGEAPP="$REGISTRY/$INPUT_IMAGE" fi /kaniko/executor \