Skip to content

Commit

Permalink
Update docker-run-in-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto authored May 10, 2023
1 parent 56640e2 commit 1350ab7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/docker-run-in-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ on:
jobs:
container-test-job:
runs-on: ubuntu-latest
container: hello-world
container:
image: node:14.16
env:
NODE_ENV: development
ports:
- 80
volumes:
- my_docker_volume:/volume_mount
options: --cpus 1
steps:
- name: Check for dockerenv file
run: date
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)

0 comments on commit 1350ab7

Please sign in to comment.