fix using option entrypoint in podman-run
This commit is contained in:
parent
3144022b95
commit
94187ff836
@ -14,7 +14,7 @@ inputs:
|
||||
shell:
|
||||
description: 'Use a specific shell'
|
||||
required: false
|
||||
default: sh
|
||||
default: /bin/sh
|
||||
registry:
|
||||
description: 'Registry'
|
||||
required: false
|
||||
|
@ -8,4 +8,4 @@ if [ ! -z $INPUT_PODMAN_NETWORK ];
|
||||
then INPUT_OPTIONS="$INPUT_OPTIONS --network $INPUT_PODMAN_NETWORK"
|
||||
fi
|
||||
|
||||
exec podman run $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "${INPUT_RUN//$'\n'/;}"
|
||||
exec podman run $INPUT_OPTIONS --entrypoint="$INPUT_SHELL" $INPUT_IMAGE -c "${INPUT_RUN}"
|
||||
|
Loading…
Reference in New Issue
Block a user