fix: move logic to per-repo conf
This commit is contained in:
parent
e693a377b4
commit
50c62ced52
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user