summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2021-09-15 17:12:52 +0200
committerBenjamin Berg <bberg@redhat.com>2021-09-15 17:20:14 +0200
commit7d4331b29a15f9fa20d48a24bc43ce896dd7a4e3 (patch)
treee36120ad5786d5b6b1d9ff532a26b030591e3893
parentb440acb57daf0459f2b8b8de82d8284c2040b720 (diff)
ci: Reference image directly for forks
Otherwise forks will not find the image and things fall apart (due to the method of how we build the image).
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40caf78..974a25f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@ variables:
FDO_DISTRIBUTION_TAG: latest
FDO_DISTRIBUTION_VERSION: rawhide
FDO_UPSTREAM_REPO: "libfprint/$CI_PROJECT_NAME"
+ FEDORA_IMAGE: "$CI_REGISTRY/libfprint/$CI_PROJECT_NAME/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
DEPENDENCIES: dbus-glib-devel
gcc
gcovr
@@ -28,13 +29,14 @@ variables:
python3-libpamtest
systemd-devel
+image: "$FEDORA_IMAGE"
+
stages:
- check-source
- build
- test
.fprintd_build_preconditions:
- extends: .fdo.distribution-image@fedora
except:
variables:
- $FPRINT_CRON_TASK == "BUILD_CI_IMAGES"