gitlab-ci: Don't rely on $CI_PROJECT_NAME

The name of a forked repository can be changed later, in which case this
would fail to refer to the main repository.

Pointed out by Eric Engestrom in
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/224 .
This commit is contained in:
Michel Dänzer 2019-02-11 18:32:07 +01:00 committed by Michel Dänzer
parent 8694395fcf
commit fede384962
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
variables:
IMAGE_TAG: "debian-testing-20181217"
IMAGE_LOCAL: "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
IMAGE_MAIN: "registry.freedesktop.org/xorg/$CI_PROJECT_NAME:$IMAGE_TAG"
IMAGE_MAIN: "registry.freedesktop.org/xorg/xserver:$IMAGE_TAG"
stages:
- docker-image