Set docker image

This commit is contained in:
Gabriel Augendre 2020-12-26 16:56:15 +01:00
parent fe1a24da28
commit cd1da1c33c
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -16,6 +16,7 @@ variables:
PRE_COMMIT_IMAGE: rg.fr-par.scw.cloud/crocmagnon/pre-commit:latest PRE_COMMIT_IMAGE: rg.fr-par.scw.cloud/crocmagnon/pre-commit:latest
.build: &build .build: &build
image: docker:20.10.1
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker login -u $REGISTRY_USER -p $REGISTRY_PASSWORD $IMAGE_REGISTRY - docker login -u $REGISTRY_USER -p $REGISTRY_PASSWORD $IMAGE_REGISTRY