Skip to content
Snippets Groups Projects
Commit 01e0d8b8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: avoid publishing zero size images

parent 8ccd934e
Branches
No related tags found
1 merge request!632feat: manual dind default to master
This commit is part of merge request !632. Comments created here will be created in the context of that merge request.
......@@ -167,10 +167,9 @@ version:
extends: .build
variables:
BUILD_IMAGE: dind
EXPORT_TAG: ${CI_COMMIT_REF_NAME}
script:
- docker buildx build --push
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${CI_COMMIT_REF_NAME}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE}:${EXPORT_TAG}}
......@@ -207,7 +206,6 @@ dind-deploy:
rules:
- when: manual
variables:
BUILD_IMAGE: dind
EXPORT_TAG: master
base:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment