From db8877c80f0d66bc74e0a5f98111f870cc4a8ea4 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Fri, 26 Mar 2021 21:33:19 +0700 Subject: [PATCH] Add 0.7 --- .github/workflows/main.yml | 2 +- README.md | 13 ++++++------- entrypoint.sh | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c4839b..cafd33a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/README.md b/README.md index 7321794..253549f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ```yaml - name: Starter Docker - uses: CUBETIQ/starter-docker-actions@v0.6 + uses: CUBETIQ/starter-docker-actions@v0.7 ``` # Example Action @@ -19,19 +19,18 @@ name: CI on: push: - branches: [master] + branches: [ master ] jobs: build: 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 diff --git a/entrypoint.sh b/entrypoint.sh index 46c7e8d..ae443cc 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \ No newline at end of file +exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE "`cat semicolon_delimited_script`" \ No newline at end of file