Updated to version 0.4

This commit is contained in:
Sambo Chea 2021-03-26 21:13:21 +07:00
parent 9758e24702
commit b34a9fb6c7
3 changed files with 9 additions and 8 deletions

View File

@ -9,9 +9,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: cubetiq/starter-docker-actions@v0.3 - uses: cubetiq/starter-docker-actions@v0.4
- name: Starter Docker Test - name: Starter Docker Test
run: | with:
docker images shell: bash
docker ps run: docker version
docker --version

View File

@ -9,7 +9,7 @@
```yaml ```yaml
- name: Starter Docker - name: Starter Docker
uses: CUBETIQ/starter-docker-actions@v0.3 uses: CUBETIQ/starter-docker-actions@v0.4
``` ```
# Example Action # Example Action
@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: cubetiq/starter-docker-actions@v0.3 - uses: cubetiq/starter-docker-actions@v0.4
- name: Starter Docker Test - name: Starter Docker Test
run: | run: |
docker images docker images

View File

@ -6,6 +6,8 @@ fi
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
echo "INPUT RUN => $semicolon_delimited_script"
if [ ! -z $INPUT_DOCKER_NETWORK ]; if [ ! -z $INPUT_DOCKER_NETWORK ];
then INPUT_OPTIONS="$INPUT_OPTIONS --network $INPUT_DOCKER_NETWORK" then INPUT_OPTIONS="$INPUT_OPTIONS --network $INPUT_DOCKER_NETWORK"
fi fi