test
This commit is contained in:
parent
d0542d2f76
commit
e693a377b4
@ -15,11 +15,14 @@ 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:]-/:_' _)"
|
||||
fi
|
||||
|
||||
/kaniko/executor \
|
||||
--cache="${INPUT_CACHE}" \
|
||||
--cache="$INPUT_CACHE" \
|
||||
--context "${INPUT_DOCKERFILE%/*}" \
|
||||
--dockerfile "$INPUT_DOCKERFILE" \
|
||||
--destination "$IMAGEAPP"
|
||||
|
Loading…
Reference in New Issue
Block a user