From 77e9dab5bd6d53d13113f9532b496cddd71135bb Mon Sep 17 00:00:00 2001 From: sfrancois Date: Thu, 28 Mar 2024 15:21:19 +0100 Subject: [PATCH] feat(docker): utilise des images en cache pour les builds --- templates/deploy-portainer.yml | 2 +- templates/docker-18.yml | 4 ++-- templates/docker-20.yml | 4 ++-- templates/docker-23.yml | 4 ++-- templates/docker-24.yml | 4 ++-- templates/vul-scan.yml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/deploy-portainer.yml b/templates/deploy-portainer.yml index 04c7455..aa67ffd 100644 --- a/templates/deploy-portainer.yml +++ b/templates/deploy-portainer.yml @@ -1,5 +1,5 @@ .deploy: - image: curlimages/curl-base:latest + image: outils-patrinat.mnhn.fr/curl-base:latest stage: deploy variables: GIT_STRATEGY: none diff --git a/templates/docker-18.yml b/templates/docker-18.yml index cb0a92d..69383ca 100644 --- a/templates/docker-18.yml +++ b/templates/docker-18.yml @@ -3,8 +3,8 @@ variables: DOCKER_BUILDKIT: 1 .docker: - image: docker:18 + image: outils-patrinat.mnhn.fr/docker:18 services: - - name: docker:18-dind + - name: outils-patrinat.mnhn.fr/docker:18-dind tags: - docker-images diff --git a/templates/docker-20.yml b/templates/docker-20.yml index c5dd589..7430af8 100644 --- a/templates/docker-20.yml +++ b/templates/docker-20.yml @@ -3,8 +3,8 @@ variables: DOCKER_BUILDKIT: 1 .docker: - image: docker:20 + image: outils-patrinat.mnhn.fr/docker:20 services: - - name: docker:20-dind + - name: outils-patrinat.mnhn.fr/docker:20-dind tags: - docker-images diff --git a/templates/docker-23.yml b/templates/docker-23.yml index 51c8b97..1e5a375 100644 --- a/templates/docker-23.yml +++ b/templates/docker-23.yml @@ -3,8 +3,8 @@ variables: DOCKER_BUILDKIT: 1 .docker: - image: docker:23 + image: outils-patrinat.mnhn.fr/docker:23 services: - - name: docker:23-dind + - name: outils-patrinat.mnhn.fr/docker:23-dind tags: - docker-images diff --git a/templates/docker-24.yml b/templates/docker-24.yml index 114c38f..26a7893 100644 --- a/templates/docker-24.yml +++ b/templates/docker-24.yml @@ -5,8 +5,8 @@ variables: DOCKER_TLS_CERTDIR: "" .docker: - image: docker:24 + image: outils-patrinat.mnhn.fr/docker:24 services: - - name: docker:24-dind + - name: outils-patrinat.mnhn.fr/docker:24-dind tags: - docker-images diff --git a/templates/vul-scan.yml b/templates/vul-scan.yml index e6f5701..f1a6d70 100644 --- a/templates/vul-scan.yml +++ b/templates/vul-scan.yml @@ -1,10 +1,10 @@ 🐞 scan: stage: scan - image: docker:stable + image: outils-patrinat.mnhn.fr/docker:24 only: - merge_requests services: - - name: docker:dind + - name: outils-patrinat.mnhn.fr/docker:24-dind entrypoint: ['env', '-u', 'DOCKER_HOST'] command: ['dockerd-entrypoint.sh'] variables: -- GitLab