fix: workdir-path
This commit is contained in:
parent
50c62ced52
commit
5069e221af
@ -1,4 +1,7 @@
|
||||
#!/bin/sh -ex
|
||||
#shellcheck disable=SC1091
|
||||
|
||||
cd "./${INPUT_DOCKERFILE%/*}"
|
||||
|
||||
[ -f .env ] && . ./.env
|
||||
|
||||
@ -20,6 +23,5 @@ fi
|
||||
|
||||
/kaniko/executor \
|
||||
--cache="$INPUT_CACHE" \
|
||||
--context "${INPUT_DOCKERFILE%/*}" \
|
||||
--dockerfile "$INPUT_DOCKERFILE" \
|
||||
--dockerfile "${INPUT_DOCKERFILE##*/}" \
|
||||
--destination "$IMAGEAPP"
|
||||
|
Loading…
Reference in New Issue
Block a user