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_TAG: latest
FDO_DISTRIBUTION_VERSION: rawhide FDO_DISTRIBUTION_VERSION: rawhide
FDO_UPSTREAM_REPO: "libfprint/$CI_PROJECT_NAME" 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 DEPENDENCIES: dbus-glib-devel
gcc gcc
gcovr gcovr
@ -28,13 +29,14 @@ variables:
python3-libpamtest python3-libpamtest
systemd-devel systemd-devel
image: "$FEDORA_IMAGE"
stages: stages:
- check-source - check-source
- build - build
- test - test
.fprintd_build_preconditions: .fprintd_build_preconditions:
extends: .fdo.distribution-image@fedora
except: except:
variables: variables:
- $FPRINT_CRON_TASK == "BUILD_CI_IMAGES" - $FPRINT_CRON_TASK == "BUILD_CI_IMAGES"