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).merge-requests/325/head
parent
3c2883b992
commit
9356e895a2
|
@ -10,6 +10,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"
|
||||
BUNDLE: "org.freedesktop.libfprint.Demo.flatpak"
|
||||
LAST_ABI_BREAK: "056ea541ddc97f5806cffbd99a12dc87e4da3546"
|
||||
|
||||
|
@ -19,6 +20,8 @@ stages:
|
|||
- test
|
||||
- flatpak
|
||||
|
||||
image: $FEDORA_IMAGE
|
||||
|
||||
.build_one_driver_template: &build_one_driver
|
||||
script:
|
||||
# Build with a driver that doesn't need imaging, or nss
|
||||
|
@ -39,7 +42,6 @@ stages:
|
|||
|
||||
build:
|
||||
stage: build
|
||||
extends: .fdo.distribution-image@fedora
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
@ -57,7 +59,6 @@ build:
|
|||
|
||||
test:
|
||||
stage: test
|
||||
extends: .fdo.distribution-image@fedora
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
@ -78,7 +79,6 @@ test:
|
|||
|
||||
test_valgrind:
|
||||
stage: test
|
||||
extends: .fdo.distribution-image@fedora
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
@ -97,7 +97,6 @@ test_valgrind:
|
|||
|
||||
test_scan_build:
|
||||
stage: test
|
||||
extends: .fdo.distribution-image@fedora
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
@ -113,7 +112,6 @@ test_scan_build:
|
|||
|
||||
test_indent:
|
||||
stage: check-source
|
||||
extends: .fdo.distribution-image@fedora
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
@ -124,7 +122,6 @@ test_indent:
|
|||
|
||||
test_unsupported_list:
|
||||
stage: check-source
|
||||
extends: .fdo.distribution-image@fedora
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
|
|
Loading…
Reference in New Issue