From 4325667d365b31654cb24cc0a80af22571f30b45 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Fri, 18 Dec 2020 14:37:08 -0600 Subject: [PATCH] chore: Try using CI_REGISTRY_USER for docker login --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dc80009a..3fd6898b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,8 +21,8 @@ build: stage: build image: "docker" script: - - docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY - - docker build --pull -t registry.gitlab.com/mythic-insight/legendary/legendary . + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - docker build --pull -t $CI_REGISTRY_IMAGE . test: stage: test