Skip to content

Commit 0489ff7

Browse files
committed
label images with opencontainers 'source' label
This allows GitHub to provide links back from the Container Images to the source repository that built them. See <https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys> Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 4967f2c commit 0489ff7

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

ubi9-openjdk-11-runtime.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ labels:
2020
value: "openjdk-11-runtime-ubi9-container"
2121
- name: "com.redhat.license_terms"
2222
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
23+
- name: "org.opencontainers.image.source"
24+
value: "https://github.com/jboss-container-images/openjdk"
2325

2426
envs:
2527
- name: "JBOSS_IMAGE_NAME"

ubi9-openjdk-11.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ labels:
2222
value: "https://access.redhat.com/documentation/en-us/openjdk/11/html/using_openjdk_11_source-to-image_for_openshift/index"
2323
- name: "com.redhat.license_terms"
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
25+
- name: "org.opencontainers.image.source"
26+
value: "https://github.com/jboss-container-images/openjdk"
2527

2628
envs:
2729
- name: PATH

ubi9-openjdk-17-runtime.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ labels:
2222
value: "https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/"
2323
- name: "com.redhat.license_terms"
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
25+
- name: "org.opencontainers.image.source"
26+
value: "https://github.com/jboss-container-images/openjdk"
2527

2628
envs:
2729
- name: "JBOSS_IMAGE_NAME"

ubi9-openjdk-17.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ labels:
2222
value: "https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/"
2323
- name: "com.redhat.license_terms"
2424
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
25+
- name: "org.opencontainers.image.source"
26+
value: "https://github.com/jboss-container-images/openjdk"
2527

2628
envs:
2729
- name: PATH

0 commit comments

Comments
 (0)