Skip to content

Commit 38d3827

Browse files
committed
Add support for bulding images names
Add Dockerfile.rhel10 for tests. But ubi10/s2i-core does not exist. Let's use ubi9/s2i-core for now. Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 7bc5bcb commit 38d3827

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test-lib.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,8 @@ ct_get_public_image_name() {
794794
public_image_name=$registry/rhel8/$base_image_name-${version//./}
795795
elif [ "$os" == "rhel9" ]; then
796796
public_image_name=$registry/rhel9/$base_image_name-${version//./}
797+
elif [ "$os" == "rhel10" ]; then
798+
public_image_name=$registry/rhel10/$base_image_name-${version//./}
797799
elif [ "$os" == "c9s" ]; then
798800
public_image_name=$registry/sclorg/$base_image_name-${version//./}-c9s
799801
elif [ "$os" == "c10s" ]; then
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM ubi9/s2i-core
2+
## ubi10/s2i-core does not exist let's use ubi9/s2i-core
3+
LABEL name=test-image

0 commit comments

Comments
 (0)