Commit a7951b01 authored by David Mendez's avatar David Mendez
Browse files

CI: log into docker explicitly in build jobs

parent 5da937e4
......@@ -59,6 +59,7 @@ build_docker_image_server:
- set -x
- docker version # verify docker cli is there. Also prints server info
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- echo $DOCKERHUB_REGISTRY_PASSWORD | docker login -u $DOCKERHUB_REGISTRY_USER --password-stdin $DOCKERHUB_REGISTRY
- echo building $SERVER_IMAGE_TAG
- docker-compose build delayed-jobs-server-prod
- echo Deploying $SERVER_IMAGE_TAG
......@@ -81,6 +82,7 @@ build_docker_image_status_daemon:
- set -x
- docker version # verify docker cli is there. Also prints server info
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- echo $DOCKERHUB_REGISTRY_PASSWORD | docker login -u $DOCKERHUB_REGISTRY_USER --password-stdin $DOCKERHUB_REGISTRY
- echo building $STATUS_DAEMON_IMAGE_TAG
- docker-compose build delayed-job-status-daemon-prod
- echo Deploying $STATUS_DAEMON_IMAGE_TAG
......
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