Skip to content

Commit

Permalink
fix: entrypoint ARGS remove new line
Browse files Browse the repository at this point in the history
  • Loading branch information
ykyr authored and aexvir committed Mar 8, 2024
1 parent 16c18d6 commit ef9c4ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit ef9c4ca

Please sign in to comment.