fix command run-test
Some checks failed
Some checks failed
This commit is contained in:
parent
4f1a12d561
commit
7fea91a372
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user