Skip to content

Commit ab1cf4a

Browse files
committed
Added workflow for checking prs
Renamed workflow file from action to publish
1 parent 04c8d60 commit ab1cf4a

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: PR Build Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up QEMU
16+
uses: docker/setup-qemu-action@v3
17+
18+
- name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@v3
20+
21+
- name: Build Docker image
22+
uses: docker/build-push-action@v5
23+
with:
24+
context: .
25+
file: ./Dockerfile
26+
platforms: linux/amd64,linux/arm64
27+
push: false

0 commit comments

Comments
 (0)