Commit 26c9fcaa authored by David Mendez's avatar David Mendez

add login to docker registry to build final docker image;

parent 9c6f97fd
Pipeline #111334 passed with stages
in 4 minutes and 55 seconds
......@@ -109,6 +109,7 @@ build_final_docker_image:
- 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 $TEST_CI_REGISTRY_PASSWORD | docker login -u $TEST_CI_REGISTRY_USER --password-stdin $TEST_CI_REGISTRY
- docker system info
- export FINAL_IMAGE_TAG="${FINAL_IMAGE_TAG_BASE}-$(date '+%d-%b-%Y--%H-%M-%S')"
- echo Building $FINAL_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