mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-12-18 14:58:20 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8de7c88b27 | ||
|
|
ef9c4ca42e |
@@ -2,7 +2,7 @@ FROM alpine as certs
|
|||||||
|
|
||||||
RUN apk --update add ca-certificates
|
RUN apk --update add ca-certificates
|
||||||
|
|
||||||
FROM gcr.io/kaniko-project/executor:v1.20.0-debug
|
FROM gcr.io/kaniko-project/executor:v1.21.1-debug
|
||||||
|
|
||||||
SHELL ["/busybox/sh", "-c"]
|
SHELL ["/busybox/sh", "-c"]
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,8 @@ EOF
|
|||||||
# https://github.com/GoogleContainerTools/kaniko/issues/1803
|
# https://github.com/GoogleContainerTools/kaniko/issues/1803
|
||||||
# https://github.com/GoogleContainerTools/kaniko/issues/1349
|
# https://github.com/GoogleContainerTools/kaniko/issues/1349
|
||||||
export IFS=''
|
export IFS=''
|
||||||
|
# Removes a trailing new line
|
||||||
|
ARGS=$(echo "${ARGS}" | sed 's/\n*$//')
|
||||||
kaniko_cmd="/kaniko/executor ${ARGS} --reproducible --force"
|
kaniko_cmd="/kaniko/executor ${ARGS} --reproducible --force"
|
||||||
echo "Running kaniko command ${kaniko_cmd}"
|
echo "Running kaniko command ${kaniko_cmd}"
|
||||||
eval "${kaniko_cmd}"
|
eval "${kaniko_cmd}"
|
||||||
|
|||||||
Reference in New Issue
Block a user