Fixed the docker and shell and remove bash

This commit is contained in:
Sambo Chea 2021-03-26 21:49:36 +07:00
parent 796132e773
commit 24aa129e67
3 changed files with 3 additions and 7 deletions

View File

@ -10,7 +10,6 @@ jobs:
steps: steps:
- name: Starter Docker Test - name: Starter Docker Test
uses: cubetiq/starter-docker-actions@v0.9 uses: cubetiq/starter-docker-actions@v1
with: with:
shell: sh
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.9 uses: CUBETIQ/starter-docker-actions@v1
``` ```
# 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.9 uses: cubetiq/starter-docker-actions@v1
with: with:
shell: bash shell: bash
run: docker version run: docker version

View File

@ -18,9 +18,6 @@ if [ -z $INPUT_IMAGE ];
then INPUT_IMAGE=docker then INPUT_IMAGE=docker
fi fi
echo "Shell: $INPUT_SHELL"
echo "Image: $INPUT_IMAGE"
if [ -z $semicolon_delimited_script ]; if [ -z $semicolon_delimited_script ];
then semicolon_delimited_script="echo $(whoami)" then semicolon_delimited_script="echo $(whoami)"
fi fi