We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f2c6e7 commit b934919Copy full SHA for b934919
1 file changed
.github/workflows/node_js_containers.yml
@@ -2,6 +2,22 @@ name: Dockerized NodeJs App
2
on: push
3
4
jobs:
5
+ docker-steps:
6
+ # Docker containers can only run on ubuntu, it cannot run on Mac or Windows.
7
+ runs-on: ubuntu-latest
8
+ container:
9
+ image: node:10.18.0-jessie
10
+ steps:
11
+ - name: log node version
12
+ run: node -v
13
+
14
+ # This will run the image node:12.14.1-alpine3.10 which runs instead of the other one specified above
15
+ - name: Step with docker
16
+ uses: docker://node:12.14.1-alpine3.10
17
+ with:
18
+ entrypoint: '/usr/local/bin/node'
19
+ args: '-v'
20
21
node-docker:
22
runs-on: ubuntu-latest
23
0 commit comments