Skip to content

Commit 175ac1c

Browse files
committed
ci-cd: add build workflow using Dockerfile
Build the project's Dockerfile on every pull request and push Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
1 parent 87eff28 commit 175ac1c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Docker Image CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Build the Docker image
11+
run: docker build . --file Dockerfile --tag arduino_gsoc_2022_buildtest:$(date +%s)

0 commit comments

Comments
 (0)