Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 85554e59 rédigé par Theo LE CALVAR's avatar Theo LE CALVAR
Parcourir les fichiers

Add pull of base image before building the image

parent 225cd905
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!1Update Dockerfile and gitlab-ci
......@@ -17,7 +17,7 @@ build:
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE || true
- docker build --cache-from $CI_REGISTRY_IMAGE --tag $CI_REGISTRY_IMAGE:latest --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${http_proxy} .
- docker build --pull --cache-from $CI_REGISTRY_IMAGE --tag $CI_REGISTRY_IMAGE:latest --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${http_proxy} .
- docker push $CI_REGISTRY_IMAGE
test:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter