mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 08:12:27 +00:00
Added docker auth to docker push job
This commit is contained in:
parent
506feec13d
commit
6cb669cdb1
@ -61,6 +61,8 @@ image-2.7:
|
|||||||
|
|
||||||
image-latest:
|
image-latest:
|
||||||
stage: release
|
stage: release
|
||||||
|
before_script:
|
||||||
|
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
- docker build -f Dockerfile . -t $CI_REGISTRY_IMAGE
|
- docker build -f Dockerfile . -t $CI_REGISTRY_IMAGE
|
||||||
- docker tag $CI_REGISTRY_IMAGE $CI_REGISTRY_IMAGE:$CI_BUILD_REF_SLUG
|
- docker tag $CI_REGISTRY_IMAGE $CI_REGISTRY_IMAGE:$CI_BUILD_REF_SLUG
|
||||||
|
Loading…
Reference in New Issue
Block a user