Skip to content

Commit 5ecf512

Browse files
committed
add 2025b label on the dockerfile
1 parent 0a74279 commit 5ecf512

File tree

30 files changed

+98
-0
lines changed

30 files changed

+98
-0
lines changed

.tekton/multiarch-pull-request-pipeline.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ spec:
9999
set of values is determined by the configuration of the multi-platform-controller.
100100
name: build-platforms
101101
type: array
102+
- default: []
103+
description: Array of image labels to apply to the image (key=value strings)
104+
name: image-labels
105+
type: array
102106
results:
103107
- description: ""
104108
name: IMAGE_URL
@@ -219,6 +223,9 @@ spec:
219223
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
220224
- name: IMAGE_APPEND_PLATFORM
221225
value: "true"
226+
- name: IMAGE_LABELS
227+
value:
228+
- $(params.image-labels[*])
222229
runAfter:
223230
- prefetch-dependencies
224231
taskRef:

.tekton/multiarch-push-pipeline.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ spec:
111111
description: Whether to enable privileged mode, should be used only with remote VMs
112112
name: privileged-nested
113113
type: string
114+
- default: []
115+
description: Array of image labels to apply to the built image.
116+
name: image-labels
117+
type: array
114118
- default:
115119
- linux/x86_64
116120
description: List of platforms to build the container images on. The available
@@ -275,6 +279,9 @@ spec:
275279
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
276280
- name: IMAGE_APPEND_PLATFORM
277281
value: "true"
282+
- name: IMAGE_LABELS
283+
value:
284+
- $(params.image-labels[*])
278285
runAfter:
279286
- prefetch-dependencies
280287
taskRef:

.tekton/odh-base-image-cuda-py311-c9s-pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ spec:
4141
value: base-images/cuda/12.6/c9s-python-3.11/Dockerfile.cuda
4242
- name: path-context
4343
value: .
44+
- name: image-labels
45+
value:
46+
- release=2025b
4447
pipelineRef:
4548
name: multiarch-pull-request-pipeline
4649
taskRunTemplate:

.tekton/odh-base-image-cuda-py311-c9s-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ spec:
3030
value:
3131
- linux/x86_64
3232
- linux/arm64
33+
- name: image-labels
34+
value:
35+
- release=2025b
3336
- name: path-context
3437
value: .
3538
- name: additional-tags

.tekton/odh-base-image-cuda-py312-c9s-pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ spec:
4141
value: base-images/cuda/12.6/c9s-python-3.12/Dockerfile.cuda
4242
- name: path-context
4343
value: .
44+
- name: image-labels
45+
value:
46+
- release=2025b
4447
pipelineRef:
4548
name: multiarch-pull-request-pipeline
4649
taskRunTemplate:

.tekton/odh-base-image-cuda-py312-c9s-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ spec:
3636
value:
3737
- '{{target_branch}}-{{revision}}'
3838
- v12.6
39+
- name: image-labels
40+
value:
41+
- release=2025b
3942
pipelineRef:
4043
name: multiarch-push-pipeline
4144
taskRunTemplate:

.tekton/odh-base-image-cuda-py312-ubi9-pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ spec:
4141
value: base-images/cuda/12.6/ubi9-python-3.12/Dockerfile.cuda
4242
- name: path-context
4343
value: .
44+
- name: image-labels
45+
value:
46+
- release=2025b
4447
pipelineRef:
4548
name: multiarch-pull-request-pipeline
4649
taskRunTemplate:

.tekton/odh-base-image-cuda-py312-ubi9-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ spec:
3636
value:
3737
- '{{target_branch}}-{{revision}}'
3838
- v12.6
39+
- name: image-labels
40+
value:
41+
- release=2025b
3942
pipelineRef:
4043
name: multiarch-push-pipeline
4144
taskRunTemplate:

.tekton/odh-base-image-rocm-py312-c9s-pull-request.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ spec:
4040
value: base-images/rocm/6.2/c9s-python-3.12/Dockerfile.rocm
4141
- name: path-context
4242
value: .
43+
- name: image-labels
44+
value:
45+
- release=2025b
4346
pipelineRef:
4447
name: multiarch-pull-request-pipeline
4548
taskRunTemplate:

.tekton/odh-base-image-rocm-py312-c9s-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ spec:
3131
value:
3232
- '{{target_branch}}-{{revision}}'
3333
- v6.2
34+
- name: image-labels
35+
value:
36+
- release=2025b
3437
pipelineRef:
3538
name: singlearch-push-pipeline
3639
taskRunTemplate:

0 commit comments

Comments
 (0)