mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 11:02:55 +01:00
Debug a little bit
This commit is contained in:
parent
d9b7a12534
commit
961d0bd897
2 changed files with 3 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue