Merge pull request #59 from turniere/ticket/TUR-18

Login to allow pushing deploy container TUR-18
This commit is contained in:
Daniel Schädler 2019-11-21 18:09:06 +01:00 committed by GitHub
commit 5926226b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ deploy_watchtower:
services:
- docker:dind
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE/production:deploy
- docker push $CI_REGISTRY_IMAGE/production:deploy