Skip to content
Snippets Groups Projects
Commit 417190c6 authored by Bartosz Walkowiak's avatar Bartosz Walkowiak
Browse files

Merge branch 'gitlab-registry' into 'master'

Gitlab registry

See merge request !3
parents bdae9fca a3fa096f
Branches master
1 merge request!3Gitlab registry
Pipeline #13458 passed with stages
in 9 minutes and 43 seconds
......@@ -20,13 +20,12 @@ build_image:
image: 'docker:18.09.7'
only:
- master
- gitlab-registry
services:
- 'docker:18.09.7-dind'
before_script:
- ''
script:
- docker build -t clarinpl/morfeusz .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push clarinpl/morfeusz
- docker build -t $CI_REGISTRY_IMAGE .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment