Skip to content
Snippets Groups Projects
Commit 94f6f5a4 authored by Jon Azpiazu's avatar Jon Azpiazu
Browse files

Change which registry is used for logging

parent 9856431d
No related branches found
No related tags found
1 merge request!88Resolve "ddeploy job does not allow to login in a user-defined registry"
Pipeline #135034 passed
......@@ -45,8 +45,8 @@ variables:
- echo https://$ARTIFACT_CI_USER:$ARTIFACT_CI_TOKEN@artifact.tecnalia.com > ~/.git-credentials
# install ddeploy
- pip install git+ssh://git@git.code.tecnalia.com/tecnalia_robotics/flexbotics/flexbotics_utils/ddeploy.git@v0.2.0
- echo "Logging into docker registry ${ARTIFACT_DOCKER_URL} for user ${ARTIFACT_CI_USER}"
- docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
- echo "Logging into docker registry ${DOCKER_PUSH_REGISTRY} for user ${ARTIFACT_CI_USER}"
- docker login ${DOCKER_PUSH_REGISTRY} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
script:
# Run ddeploy
- ddeploy --yaml ${DDEPLOY_YAML}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment