Add the corresponding `org.opencontainers.image.version` label to container images built by konflux Related: https://gitlab.com/fedora/bootc/tekton-catalog/-/issues/2 Signed-off-by: Miguel Martín <mmartinv@redhat.com>
68 lines
2.4 KiB
YAML
68 lines
2.4 KiB
YAML
apiVersion: tekton.dev/v1
|
|
kind: PipelineRun
|
|
metadata:
|
|
annotations:
|
|
build.appstudio.openshift.io/repo: https://gitlab.com/fedora/bootc/base-images/-/tree/{{revision}}
|
|
build.appstudio.redhat.com/commit_sha: '{{revision}}'
|
|
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
|
|
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
|
|
pipelinesascode.tekton.dev/cancel-in-progress: "true"
|
|
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
|
pipelinesascode.tekton.dev/on-cel-expression: |
|
|
(
|
|
(event == "pull_request" && target_branch == "main")
|
|
) && (
|
|
".tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml".pathChanged() ||
|
|
"Containerfile".pathChanged() ||
|
|
"bootc-base-imagectl".pathChanged() ||
|
|
"install-manifests".pathChanged() ||
|
|
"fedora-includes/generic.yaml".pathChanged() ||
|
|
"minimal.yaml".pathChanged() ||
|
|
"minimal/***".pathChanged() ||
|
|
"minimal-plus.hidden.yaml".pathChanged() ||
|
|
"minimal-plus/***".pathChanged()
|
|
)
|
|
creationTimestamp: null
|
|
labels:
|
|
appstudio.openshift.io/application: fedora-bootc-rawhide
|
|
appstudio.openshift.io/component: fedora-bootc-rawhide-minimal-plus
|
|
pipelines.appstudio.openshift.io/type: build
|
|
name: fedora-bootc-rawhide-minimal-plus-on-pull-request
|
|
spec:
|
|
params:
|
|
- name: git-url
|
|
value: '{{source_url}}'
|
|
- name: revision
|
|
value: '{{revision}}'
|
|
- name: build-platforms
|
|
value:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
- name: dockerfile
|
|
value: Containerfile
|
|
- name: path-context
|
|
value: .
|
|
- name: privileged-nested
|
|
value: true
|
|
- name: build-args
|
|
value:
|
|
- REPOS_IMAGE=quay.io/bootc-devel/fedora-bootc-rawhide-compose:Fedora-Rawhide-20250819.n.0@sha256:eefc100461b99d6cb4e2476fe0680a2adbef67a5cae524485ea6b090798f7bd8
|
|
- MANIFEST=fedora-minimal-plus
|
|
- name: image-expires-after
|
|
value: 5d
|
|
- name: output-image
|
|
value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal-plus:on-pr-{{revision}}
|
|
- name: labels
|
|
value:
|
|
- org.opencontainers.image.version=44
|
|
pipelineRef:
|
|
params:
|
|
- name: bundle
|
|
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
|
|
- name: name
|
|
value: buildah-build-bootc-multi-platform-oci-ta
|
|
- name: kind
|
|
value: pipeline
|
|
resolver: bundles
|
|
timeouts:
|
|
pipeline: 6h
|