From 5b40def44209a7359e8a058f7c3f5668fb5edc66 Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Thu, 28 Mar 2019 16:22:32 -0400 Subject: [PATCH] Nice way to get docker to stop complaining --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37138ca..355648b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ variables: before_script: - docker info - - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY + - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin build: stage: Build Image @@ -38,4 +38,5 @@ push-other: cleanup: stage: Cleanup Runner script: + - docker logout - docker image prune --all --force \ No newline at end of file