fix: workdir-path

This commit is contained in:
ange 2024-11-29 05:58:07 +00:00
parent 50c62ced52
commit 5069e221af
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -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"