Skip to content

Commit 4cd955a

Browse files
committed
It's handier without entrypoint
1 parent b77f5d4 commit 4cd955a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ COPY scripts/* $KANIKO_SCRIPTS
99

1010
RUN chmod +x ${KANIKO_SCRIPTS}script.sh
1111

12-
ENTRYPOINT ["/script.sh"]
12+
ENTRYPOINT [""]

kaniko.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ docker run -v ~/conf:/root/conf -v ~/.docker:/root/.docker -v "$(pwd)":/workspac
1515
-e IMAGE_TAG=${IMAGE_TAG} \
1616
-e NAMESPACE=${NAMESPACE} \
1717
-e REGISTRY="${REGISTRY}" \
18-
-e DOCKER_AUTH_CONFIG="${DOCKER_AUTH_CONFIG} \
18+
-e DOCKER_AUTH_CONFIG="${DOCKER_AUTH_CONFIG}" \
1919
-e CI_COMMIT_REF_NAME="${CI_COMMIT_REF_NAME}" \
2020
-e CI_COMMIT_SHA="$(git show --format="%H" --no-patch)" \
2121
-e CI_COMMIT_TIMESTAMP="$(git show --format="%aI" --no-patch)" \
2222
-e CI_COMMIT_TITLE="$(git show --format="%s" --no-patch)" \
23-
$KANIKO_IMAGE
23+
$KANIKO_IMAGE /script.sh
2424

2525

0 commit comments

Comments
 (0)