From 7d4331b29a15f9fa20d48a24bc43ce896dd7a4e3 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Wed, 15 Sep 2021 17:12:52 +0200 Subject: [PATCH] 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). --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"