chore: Try using CI_REGISTRY_USER for docker login

This commit is contained in:
Robert Prehn 2020-12-18 14:37:08 -06:00
parent d884932670
commit 4325667d36

View file

@ -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