diff --git a/.gitea/workflows/testscript b/.gitea/workflows/testscript index 4c15b09..7affca7 100755 --- a/.gitea/workflows/testscript +++ b/.gitea/workflows/testscript @@ -24,10 +24,7 @@ do then imgpath="$2-$1/$IM:latest" fi - entrypoint='/usr/bin/sh' - if [[ $1 == 'p10' ]] - then entrypoint='/bin/sh' - fi + entrypoint='/bin/sh' command="echo empty_command" if [[ $test != '' ]]; then diff --git a/.gitea/workflows/wf_single.yaml b/.gitea/workflows/wf_single.yaml index b042a31..2741ce9 100644 --- a/.gitea/workflows/wf_single.yaml +++ b/.gitea/workflows/wf_single.yaml @@ -123,7 +123,7 @@ jobs: if: ${{ needs.build-process.outputs.test != '' }} continue-on-error: true run: | - if [[ $BR = 'p10' ]]; then podman run --rm --entrypoint="/bin/sh" $URL/$IM:$BR -c "$TEST"; else podman run --rm --entrypoint="/usr/bin/sh" $URL/$IM:$BR -c "$TEST"; fi + if [[ "$IM" == *"k8s"* ]]; then echo "skip tests for k8s images"; else podman run --rm --entrypoint="/bin/sh" $URL/$IM:$BR -c "$TEST"; fi env: IM: ${{ needs.build-process.outputs.image }} BR: ${{ needs.build-process.outputs.branch }}