Fixed and remove commands form parm

This commit is contained in:
Sambo Chea 2021-03-26 21:34:58 +07:00
parent db8877c80f
commit 37eff36a01
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ jobs:
steps: steps:
- name: Starter Docker Test - name: Starter Docker Test
uses: cubetiq/starter-docker-actions@v0.7 uses: cubetiq/starter-docker-actions@v0.8
with: with:
shell: bash shell: bash
run: docker version run: docker version

View File

@ -9,7 +9,7 @@
```yaml ```yaml
- name: Starter Docker - name: Starter Docker
uses: CUBETIQ/starter-docker-actions@v0.7 uses: CUBETIQ/starter-docker-actions@v0.8
``` ```
# Example Action # Example Action
@ -27,7 +27,7 @@ jobs:
steps: steps:
- name: Starter Docker Test - name: Starter Docker Test
uses: cubetiq/starter-docker-actions@v0.7 uses: cubetiq/starter-docker-actions@v0.8
with: with:
shell: bash shell: bash
run: docker version run: docker version

View File

@ -18,4 +18,4 @@ if [ -z $semicolon_delimited_script ];
then semicolon_delimited_script="echo $(whoami)" then semicolon_delimited_script="echo $(whoami)"
fi fi
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE "`cat semicolon_delimited_script`" exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE