diff --git a/action.yml b/action.yml index 87553f8..405f978 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ inputs: shell: description: 'Use a specific shell' required: false - default: sh + default: /bin/sh registry: description: 'Registry' required: false diff --git a/entrypoint.sh b/entrypoint.sh index 361f56f..04bc411 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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}"