This commit is contained in:
parent
51996b4b33
commit
f63602e5f4
3 changed files with 3 additions and 4 deletions
|
@ -35,5 +35,5 @@ jobs:
|
||||||
-e TESTENV=${{ gitea.workspace }}
|
-e TESTENV=${{ gitea.workspace }}
|
||||||
-e TESTENV2=TESTENV2
|
-e TESTENV2=TESTENV2
|
||||||
run: >-
|
run: >-
|
||||||
/bin/sh -c
|
sh -c
|
||||||
echo "test"
|
echo "test
|
||||||
|
|
|
@ -31,7 +31,7 @@ inputs:
|
||||||
shell:
|
shell:
|
||||||
description: "Shell to use"
|
description: "Shell to use"
|
||||||
required: false
|
required: false
|
||||||
default: /bin/sh
|
default: sh
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
description: "Container registry URL"
|
description: "Container registry URL"
|
||||||
|
|
|
@ -47,7 +47,6 @@ for cmd in "${TMP_RUN[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
exec docker run \
|
exec docker run \
|
||||||
--rm \
|
|
||||||
--volume "${INPUT_WORKDIR}:${INPUT_WORKDIR}" \
|
--volume "${INPUT_WORKDIR}:${INPUT_WORKDIR}" \
|
||||||
--workdir "${INPUT_WORKDIR}" \
|
--workdir "${INPUT_WORKDIR}" \
|
||||||
--entrypoint="${INPUT_SHELL}" \
|
--entrypoint="${INPUT_SHELL}" \
|
||||||
|
|
Reference in a new issue