Fixed and remove commands form parm
This commit is contained in:
parent
db8877c80f
commit
37eff36a01
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user