Commit d8351fb9 authored by Lassi Niemistö's avatar Lassi Niemistö
Browse files

Add docker login with proper parameters for publishing image

parent aee18414
Pipeline #226059008 passed with stage
in 2 minutes and 14 seconds
......@@ -9,7 +9,7 @@ build-master:
stage: build
- docker build . --tag "$CI_REGISTRY_IMAGE"
- docker login
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
- docker push "$CI_REGISTRY_IMAGE"
- master
Markdown is supported
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