Fixed the docker and shell and remove bash
This commit is contained in:
parent
796132e773
commit
24aa129e67
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user