Commit 4d7e6ecf authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Update .gitlab-ci.yml : ajout de l'authentification avant docker push

parent 295839ab
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,4 +10,5 @@ build:
    - export HTTP_PROXY=http://10.14.128.99:3128
    - docker build --rm --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile -t sygal-db-image .
    - docker tag sygal-db-image registre.unicaen.fr:5000/sygal-db-image
    - echo "$CI_DEPLOY_PASSWORD" | docker login $CI_REGISTRY -u $CI_DEPLOY_USER --password-stdin
    - docker push registre.unicaen.fr:5000/sygal-db-image