Skip to content

Commit

Permalink
non tck ones not limited to use podman
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-guo committed Dec 13, 2024
1 parent d17275c commit 792b3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function build_image() {
echo "The test in the build_image() function is ${test}"
# Used for tagging the image
tags="adoptopenjdk-${test}-test:${version}-${package}-${os}-${vm}-${build}"
if [[ "$test" == *"criu"* || "$test" == *"tck"* ]]; then
if [[ "$test" == *"criu"* || "$test" == tck-* ]]; then
container_build="sudo podman build"
fi

Expand Down
2 changes: 1 addition & 1 deletion external/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ parseCommandLineArgs() {
docker_os=ubi
fi

if [[ "${test}" == *"criu"* || "${test}" == *"tck"* ]]; then
if [[ "${test}" == *"criu"* || "${test}" == tck-* ]]; then
container_run="sudo podman run"
container_login="sudo podman login"
container_inspect="sudo podman inspect"
Expand Down

0 comments on commit 792b3bb

Please sign in to comment.