mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-12 19:42:55 +01:00
Yay
This commit is contained in:
parent
961d0bd897
commit
d07deb8e09
3 changed files with 10 additions and 0 deletions
|
|
@ -35,6 +35,8 @@
|
||||||
- pwd
|
- pwd
|
||||||
- ls
|
- ls
|
||||||
- env
|
- env
|
||||||
|
- crane version
|
||||||
|
- /kaniko/executor version
|
||||||
- sh ./scripts/kaniko-image-build "$CI_JOB_NAME"
|
- sh ./scripts/kaniko-image-build "$CI_JOB_NAME"
|
||||||
rules:
|
rules:
|
||||||
- changes:
|
- changes:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
FROM gcr.io/kaniko-project/executor:v1.7.0-debug AS kaniko-src
|
FROM gcr.io/kaniko-project/executor:v1.7.0-debug AS kaniko-src
|
||||||
|
|
||||||
|
# Issue with kaniko which cannot copy files called kaniko:
|
||||||
|
# https://github.com/GoogleContainerTools/kaniko/issues/960#issuecomment-573160390
|
||||||
RUN cp -r /kaniko /kaniko-dist
|
RUN cp -r /kaniko /kaniko-dist
|
||||||
|
|
||||||
FROM alpine/git
|
FROM alpine/git
|
||||||
|
|
|
||||||
|
|
@ -49,3 +49,9 @@ if [ "$CI" = "true" ]; then
|
||||||
crane tag "$DOCKER_IMAGE" latest
|
crane tag "$DOCKER_IMAGE" latest
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pwd
|
||||||
|
ls
|
||||||
|
env
|
||||||
|
crane version
|
||||||
|
/kaniko/executor version
|
||||||
Loading…
Add table
Add a link
Reference in a new issue