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>
67 lines
2.3 KiB
YAML
67 lines
2.3 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/target_branch: '{{target_branch}}'
|
|
pipelinesascode.tekton.dev/cancel-in-progress: "false"
|
|
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
|
pipelinesascode.tekton.dev/on-cel-expression: |
|
|
(
|
|
(event == "push" && target_branch == "main")
|
|
) && (
|
|
".tekton/fedora-bootc-43-standard-push.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() ||
|
|
"standard.yaml".pathChanged() ||
|
|
"standard/***".pathChanged()
|
|
)
|
|
creationTimestamp: null
|
|
labels:
|
|
appstudio.openshift.io/application: fedora-bootc-43
|
|
appstudio.openshift.io/component: fedora-bootc-43-standard
|
|
pipelines.appstudio.openshift.io/type: build
|
|
name: fedora-bootc-43-standard-on-push
|
|
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-43-compose:Fedora-43-202508018.n.0@sha256:3d38d19271f189aef11c0b0642ed4105c8aafba34fdf790c373e5ec321ae260a
|
|
- MANIFEST=fedora-standard
|
|
- name: output-image
|
|
value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-standard:{{revision}}
|
|
- name: labels
|
|
value:
|
|
- org.opencontainers.image.version=43
|
|
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
|