mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-12-13 12:40:38 +00:00
fix: entrypoint ARGS remove new line
This commit is contained in:
@ -94,6 +94,8 @@ EOF
|
||||
# https://github.com/GoogleContainerTools/kaniko/issues/1803
|
||||
# https://github.com/GoogleContainerTools/kaniko/issues/1349
|
||||
export IFS=''
|
||||
# Removes a trailing new line
|
||||
ARGS=$(echo "${ARGS}" | sed 's/\n*$//')
|
||||
kaniko_cmd="/kaniko/executor ${ARGS} --reproducible --force"
|
||||
echo "Running kaniko command ${kaniko_cmd}"
|
||||
eval "${kaniko_cmd}"
|
||||
|
||||
Reference in New Issue
Block a user