Commit f3de9cc1 authored by Nicolas Gelot's avatar Nicolas Gelot

Add docker login to deploy image from registry

parent e16bf4cf
......@@ -116,4 +116,5 @@ deploy:spot.cloud.global:
SPOT_NGINX_DOCKER_TAG: ${CI_COMMIT_REF_SLUG}
SSH_PRIVATE_KEY: ${SSH_PRIVATE_KEY_PROD}
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker-compose up -d
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