Skip to content

Commit 9877e08

Browse files
committed
dec-18 lint docker file
1 parent d96efbc commit 9877e08

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/docker-pipeline.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ jobs:
2727
echo "Linting $dockerfile"
2828
hadolint "$dockerfile" || echo "Warnings found in $dockerfile"
2929
done
30+
build:
31+
name: Build multi arch docker image
32+
runs-on: [ubuntu-latest]
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v3
36+
37+
- name: Set up QEMU for multi-arch build
38+
uses: docker/setup-qemu-action@v2
39+
with:
40+
platforms: "linux/amd64,linux/arm64"
41+
42+
- name: Setup docker buildx
43+
uses: docker/setup-buildx-action@v2
3044

3145

3246

0 commit comments

Comments
 (0)