fix: allow / in image name
This commit is contained in:
parent
4ed1549a6d
commit
d0542d2f76
@ -15,7 +15,7 @@ EOF
|
|||||||
|
|
||||||
if [ -z "$IMAGEAPP" ]; then
|
if [ -z "$IMAGEAPP" ]; then
|
||||||
REGISTRY="$(echo "$GITHUB_SERVER_URL" | sed 's .*:// ')"
|
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
|
fi
|
||||||
|
|
||||||
/kaniko/executor \
|
/kaniko/executor \
|
||||||
|
Loading…
Reference in New Issue
Block a user