Debug a little bit

This commit is contained in:
Lukas Eipert 2022-02-21 15:14:42 +01:00
parent d9b7a12534
commit 961d0bd897
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,9 @@
resource_group: ${CI_COMMIT_REF_SLUG}_${CI_JOB_NAME}
image: registry.gitlab.com/gitlab-org/frontend/frontend-build-images/build-image
script:
- pwd
- ls
- env
- sh ./scripts/kaniko-image-build "$CI_JOB_NAME"
rules:
- changes:

View file

@ -44,8 +44,6 @@ echo "Building image $DOCKER_IMAGE"
$KANIKO_ARGS
if [ "$CI" = "true" ]; then
echo "Running on CI, so we push the built image"
crane push image.tar "$DOCKER_IMAGE"
if [ "$COMMIT_REF" = "$CI_DEFAULT_BRANCH" ]; then
echo "Tagging $DOCKER_IMAGE as latest"
crane tag "$DOCKER_IMAGE" latest