This commit is contained in:
Sambo Chea 2021-03-26 21:33:19 +07:00
parent 6129ff1f26
commit db8877c80f
3 changed files with 8 additions and 9 deletions

View File

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

View File

@ -9,7 +9,7 @@
```yaml
- name: Starter Docker
uses: CUBETIQ/starter-docker-actions@v0.6
uses: CUBETIQ/starter-docker-actions@v0.7
```
# Example Action
@ -26,12 +26,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: cubetiq/starter-docker-actions@v0.6
- name: Starter Docker Test
run: |
docker images
docker ps
docker --version
uses: cubetiq/starter-docker-actions@v0.7
with:
shell: bash
run: docker version
```
# Contributors

View File

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