Skip to content

Commit bc3dac0

Browse files
committed
Add GH Action for building Docker image
1 parent 567c7a9 commit bc3dac0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/docker-build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: docker-build
2+
on:
3+
pull_request:
4+
push:
5+
branches: [main]
6+
jobs:
7+
buildx:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- id: buildx
13+
uses: docker/setup-buildx-action@v1
14+
with:
15+
install: true
16+
- name: Build Docker image
17+
run: |
18+
docker build . # will run buildx

0 commit comments

Comments
 (0)