Commit 550709e2 authored by Mattia Mancini's avatar Mattia Mancini

Update .gitlab-ci.yml

parent 0b6916b7
Pipeline #10087 failed with stage
in 42 seconds
......@@ -6,7 +6,7 @@ docker-build-master:
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker login -u "$CI_REGISTRY_USER_HUB" -p "$CI_REGISTRY_PASSWORD_HUB" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_GROUP/imaging-pipeline":latest .
- docker push "$CI_REGISTRY_GROUP/imaging-pipeline"
......@@ -34,7 +34,7 @@ docker-build-tag:
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker login -u "$CI_REGISTRY_USER_HUB" -p "$CI_REGISTRY_PASSWORD_HUB" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_GROUP/imaging-pipeline:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_GROUP/imaging-pipeline:$CI_COMMIT_REF_SLUG"
......
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