[igt-dev] [PATCH i-g-t 1/4] gitlab-ci: Parametrize images used with CI_ variables

Arkadiusz Hiler
2018-10-24T13:00:10Z

The container stage was already using CI_ variables, pushing to the
right registry. Let's do that for the pulling containers too.

Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
.gitlab-ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a90961b6..030b3405 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: registry.freedesktop.org/drm/igt-gpu-tools/igt-fedora:latest
+image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-fedora:latest
variables:
MESON_OPTIONS: >
-Dwith_libdrm=intel,nouveau,amdgpu
@@ -27,7 +27,7 @@ build:tests-fedora:
- build

build:tests-debian:
- image: registry.freedesktop.org/drm/igt-gpu-tools/igt-debian:latest
+ image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
stage: build