From 1350ab79cbcb8e035174e1a563db2c5c91d22eaa Mon Sep 17 00:00:00 2001 From: Yuta Matsumura Date: Wed, 10 May 2023 09:33:43 +0900 Subject: [PATCH] Update docker-run-in-workflow.yml --- .github/workflows/docker-run-in-workflow.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-run-in-workflow.yml b/.github/workflows/docker-run-in-workflow.yml index 5dcd59b..c57f7d9 100644 --- a/.github/workflows/docker-run-in-workflow.yml +++ b/.github/workflows/docker-run-in-workflow.yml @@ -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)