mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
ci: Use versioned image tags
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
include:
|
include:
|
||||||
|
- local: '.gitlab-ci/libfprint-image-variables.yaml'
|
||||||
- local: '.gitlab-ci/libfprint-templates.yaml'
|
- local: '.gitlab-ci/libfprint-templates.yaml'
|
||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
ref: master
|
ref: master
|
||||||
@@ -7,7 +8,7 @@ include:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
extends: .libfprint_common_variables
|
extends: .libfprint_common_variables
|
||||||
FDO_DISTRIBUTION_TAG: latest
|
FDO_DISTRIBUTION_TAG: $LIBFPRINT_IMAGE_TAG
|
||||||
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"
|
FEDORA_IMAGE: "$CI_REGISTRY/libfprint/$CI_PROJECT_NAME/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
|
||||||
@@ -198,4 +199,4 @@ container_fedora_build_on_deps_changed:
|
|||||||
- branches
|
- branches
|
||||||
- merge_requests
|
- merge_requests
|
||||||
changes:
|
changes:
|
||||||
- .gitlab-ci/libfprint-templates.yaml
|
- .gitlab-ci/libfprint-image-variables.yaml
|
||||||
|
|||||||
2
.gitlab-ci/libfprint-image-variables.yaml
Normal file
2
.gitlab-ci/libfprint-image-variables.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
variables:
|
||||||
|
LIBFPRINT_IMAGE_TAG: v1
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# Bump image version on .gitlab-ci/libfprint-image-variables.yaml to trigger
|
||||||
|
# a rebuild on changes to this file
|
||||||
|
|
||||||
.libfprint_common_variables:
|
.libfprint_common_variables:
|
||||||
LIBFPRINT_DEPENDENCIES:
|
LIBFPRINT_DEPENDENCIES:
|
||||||
doxygen
|
doxygen
|
||||||
|
|||||||
Reference in New Issue
Block a user