1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-21 15:52:28 +00:00

Added docker auth to docker push job

This commit is contained in:
J. Fernando Sánchez 2017-02-13 20:36:12 +01:00
parent 506feec13d
commit 6cb669cdb1

View File

@ -61,6 +61,8 @@ image-2.7:
image-latest:
stage: release
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
script:
- docker build -f Dockerfile . -t $CI_REGISTRY_IMAGE
- docker tag $CI_REGISTRY_IMAGE $CI_REGISTRY_IMAGE:$CI_BUILD_REF_SLUG
@ -68,4 +70,4 @@ image-latest:
- docker push $CI_REGISTRY_IMAGE:$CI_BUILD_REF_SLUG
only:
- master
- triggers
- triggers