Skip to content

Commit c125294

Browse files
sophia-guojudovana
authored andcommitted
non tck ones not limited to use podman (adoptium#5822)
1 parent 3904d3f commit c125294

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/build_image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function build_image() {
6767
echo "The test in the build_image() function is ${test}"
6868
# Used for tagging the image
6969
tags="adoptopenjdk-${test}-test:${version}-${package}-${os}-${vm}-${build}"
70-
if [[ "$test" == *"criu"* || "$test" == *"tck"* ]]; then
70+
if [[ "$test" == *"criu"* || "$test" == tck-* ]]; then
7171
container_build="sudo podman build"
7272
fi
7373

external/external.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ parseCommandLineArgs() {
128128
docker_os=ubi
129129
fi
130130

131-
if [[ "${test}" == *"criu"* || "${test}" == *"tck"* ]]; then
131+
if [[ "${test}" == *"criu"* || "${test}" == tck-* ]]; then
132132
container_run="sudo podman run"
133133
container_login="sudo podman login"
134134
container_inspect="sudo podman inspect"

0 commit comments

Comments
 (0)