Skip to content

Commit

Permalink
Add support for bulding images names
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
phracek committed Jan 9, 2025
1 parent 7bc5bcb commit 38d3827
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ ct_get_public_image_name() {
public_image_name=$registry/rhel8/$base_image_name-${version//./}
elif [ "$os" == "rhel9" ]; then
public_image_name=$registry/rhel9/$base_image_name-${version//./}
elif [ "$os" == "rhel10" ]; then
public_image_name=$registry/rhel10/$base_image_name-${version//./}
elif [ "$os" == "c9s" ]; then
public_image_name=$registry/sclorg/$base_image_name-${version//./}-c9s
elif [ "$os" == "c10s" ]; then
Expand Down
3 changes: 3 additions & 0 deletions tests/failures/check/v0/Dockerfile.rhel10
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ubi9/s2i-core
## ubi10/s2i-core does not exist let's use ubi9/s2i-core
LABEL name=test-image

0 comments on commit 38d3827

Please sign in to comment.