diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 666a030..a37ab49 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -19,6 +19,12 @@ jobs: with: entrypoint: /usr/local/bin/node args: -v + - uses: actions/checkout@v1 + - name: Run a script + uses: docker://node:12.14.1-alpine3.10 + with: + entrypoint: ./script.sh + args: "Some string" node-docker: runs-on: ubuntu-latest services: diff --git a/script.sh b/script.sh new file mode 100755 index 0000000..72410bd --- /dev/null +++ b/script.sh @@ -0,0 +1,3 @@ +#!/bin/sh +echo $1 $2 +echo "Hello World" \ No newline at end of file