Skip to content

Commit 5bf7e87

Browse files
authored
Create docker-image.yml
1 parent c5d8079 commit 5bf7e87

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
11+
build-container:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Build the Docker image
20+
run: docker build . --file Dockerfile --tag node-hello:latest

0 commit comments

Comments
 (0)