Skip to content

Commit

Permalink
step containers
Browse files Browse the repository at this point in the history
  • Loading branch information
e-oloughlin committed Feb 2, 2021
1 parent c8f00a7 commit 9e2b031
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ name: Container
on: push

jobs:
docker-steps:
runs-on: ubuntu-latest
container:
image: node:10.23.2-buster
steps:
- name: Log node version
run: node -v
- name: Step with docker
uses: docker://node:12.20.1-alpine3.10
with:
entrypoint: /bin/echo
args: Hello World
- name: Log node version
uses: docker://node:12.20.1-alpine3.10
with:
entrypoint: /usr/local/bin/node
args: -v
node-docker:
runs-on: ubuntu-latest
services:
Expand Down

0 comments on commit 9e2b031

Please sign in to comment.