From de08db625dbe92dafbe19c9bfeff2ca7e23c9bed Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Sun, 2 Jul 2023 21:58:38 +0000 Subject: [PATCH] feat: use dind:${INTERNAL_TAG} during build --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6492723ff..b09320449 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,7 +157,7 @@ version: ## oneapi_runtime + jug_xl --> oneapi_prod ## Docker-in-docker image -dind: +dind-build: parallel: matrix: - BUILD_IMAGE: dind @@ -165,6 +165,22 @@ dind: stage: dind needs: - version + script: + - docker buildx build --push + --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG} + --file containers/dind/Dockerfile + containers/dind + +dind-publish: + image: ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG} + parallel: + matrix: + - BUILD_IMAGE: dind + extends: .build + stage: dind + needs: + - version + - dind-build script: - docker buildx build --push --tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG} -- GitLab