diff options
author | Rebecca Cran <rebecca@nuviainc.com> | 2020-11-13 10:25:19 -0700 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2020-11-17 09:45:24 +0100 |
commit | ca905bec448c281ef6dd15d62d04395a37195d20 (patch) | |
tree | 07fb7e71b275da5b911ee974a7c301a86eea38dd /.gitlab-ci.d | |
parent | f25c7ca0cecb71428f864b9ccb6f128ec39ea94e (diff) | |
download | qemu-ca905bec448c281ef6dd15d62d04395a37195d20.zip qemu-ca905bec448c281ef6dd15d62d04395a37195d20.tar.gz qemu-ca905bec448c281ef6dd15d62d04395a37195d20.tar.bz2 |
gitlab-ci: Use $CI_REGISTRY instead of hard-coding registry.gitlab.com
Update containers.yml to use the $CI_REGISTRY variable as other files
such as edk2.yml do.
Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201113172519.31056-1-rebecca@nuviainc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to '.gitlab-ci.d')
-rw-r--r-- | .gitlab-ci.d/containers.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml index 11d079e..892ca8d 100644 --- a/.gitlab-ci.d/containers.yml +++ b/.gitlab-ci.d/containers.yml @@ -8,7 +8,7 @@ - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/$NAME:latest" - apk add python3 - docker info - - docker login registry.gitlab.com -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" + - docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" script: - echo "TAG:$TAG" - echo "COMMON_TAG:$COMMON_TAG" |