Skip to content

Commit

Permalink
update docker job yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsinghal87 committed Feb 23, 2024
1 parent 8cd9ec5 commit c7934b8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/job-in-container.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: job-in-container
run-name: ${{ github.actor }} is learning GitHub Actions
name: Docker Job
on:
push:
branches:
Expand All @@ -9,8 +8,14 @@ jobs:
runs-on: ubuntu-latest
container:
image: node:18
env:
API_URL: some-url.com
ports:
- 80
steps:
- name: Log image node version
run: |
node -v
cat /etc/os-release
- name: Log env
run: echo $API_URL

0 comments on commit c7934b8

Please sign in to comment.