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"
|
then imgpath="$2-$1/$IM:latest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
entrypoint='/usr/bin/sh'
|
entrypoint='/bin/sh'
|
||||||
if [[ $1 == 'p10' ]]
|
|
||||||
then entrypoint='/bin/sh'
|
|
||||||
fi
|
|
||||||
|
|
||||||
command="echo empty_command"
|
command="echo empty_command"
|
||||||
if [[ $test != '' ]]; then
|
if [[ $test != '' ]]; then
|
||||||
|
@ -123,7 +123,7 @@ jobs:
|
|||||||
if: ${{ needs.build-process.outputs.test != '' }}
|
if: ${{ needs.build-process.outputs.test != '' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
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:
|
env:
|
||||||
IM: ${{ needs.build-process.outputs.image }}
|
IM: ${{ needs.build-process.outputs.image }}
|
||||||
BR: ${{ needs.build-process.outputs.branch }}
|
BR: ${{ needs.build-process.outputs.branch }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user