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).
This commit is contained in:
Benjamin Berg
2021-09-15 17:12:52 +02:00
parent b440acb57d
commit 7d4331b29a

View File

@ -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"