Skip to content

Commit 01a6f57

Browse files
committed
Add test github action.
1 parent db79b89 commit 01a6f57

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test workflow
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
docker-image:
7+
name: "Build docker image"
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
- name: Set up qemu
13+
uses: docker/setup-qemu-action@v1
14+
with:
15+
platforms: all
16+
- name: Set up docker buildx
17+
id: buildx
18+
uses: docker/setup-buildx-action@v1
19+
with:
20+
version: latest
21+
- name: Run buildx
22+
run: |
23+
docker buildx build \
24+
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x \
25+
--file Dockerfile \
26+
.

0 commit comments

Comments
 (0)