fix testing in single_wf

This commit is contained in:
Nadezhda Fedorova 2024-08-06 18:52:06 +03:00
parent 79f5a1def4
commit 4a434a443b

View File

@ -110,7 +110,7 @@ jobs:
id: test-script
if: ${{ needs.build-process.outputs.test != '' }}
continue-on-error: true
run: podman run --rm --entrypoint=\"/bin/sh\" $URL/$REPO/$IM:$BR -c \"$TEST\"
run: podman run --rm --entrypoint=\"/bin/sh\" $URL/$IM:$BR -c \"$TEST\"
env:
IM: ${{ needs.build-process.outputs.image }}
BR: ${{ needs.build-process.outputs.branch }}
@ -122,8 +122,8 @@ jobs:
if: ${{ needs.build-process.outputs.test == '' }}
continue-on-error: true
run: |
if [[ IM = 'alt/distroless-true' ]]; then podman run --rm $URL/$REPO/$IM:$BR true; fi
if [[ IM = 'alt/distroless-gotop' ]]; then podman run --rm $URL/$REPO/$IM:$BR --version; fi
if [[ IM = 'alt/distroless-true' ]]; then podman run --rm $URL/$IM:$BR true; fi
if [[ IM = 'alt/distroless-gotop' ]]; then podman run --rm $URL/$IM:$BR --version; fi
env:
IM: ${{ needs.build-process.outputs.image }}
BR: ${{ needs.build-process.outputs.branch }}