Skip to content

Commit 5bf5b84

Browse files
authored
Merge pull request #4 from KeychainMDIP/multi-arch
Added multi-arch support
2 parents cd9b9ac + a770424 commit 5bf5b84

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
- name: Checkout repository
5252
uses: actions/checkout@v4
5353

54+
- name: Set up QEMU
55+
uses: docker/setup-qemu-action@v2
56+
57+
- name: Set up Docker Buildx
58+
uses: docker/setup-buildx-action@v2
59+
5460
- name: Log in to the Container registry
5561
uses: docker/login-action@v3
5662
with:
@@ -75,6 +81,7 @@ jobs:
7581
push: false
7682
labels: ${{ steps.meta.outputs.labels }}
7783
tags: ${{ matrix.tags }}
84+
platforms: linux/amd64,linux/arm64
7885

7986
- name: Run Anchore vulnerability scanner
8087
uses: anchore/scan-action@v3

.github/workflows/docker-publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name: Build & Publish
1212
on:
1313
push:
1414
# Pattern matched against refs/tags
15-
tags:
15+
tags:
1616
- '**'
1717

1818
env:
@@ -58,6 +58,12 @@ jobs:
5858
- name: Checkout repository
5959
uses: actions/checkout@v4
6060

61+
- name: Set up QEMU
62+
uses: docker/setup-qemu-action@v2
63+
64+
- name: Set up Docker Buildx
65+
uses: docker/setup-buildx-action@v2
66+
6167
- name: Log in to the Container registry
6268
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446
6369
with:
@@ -82,6 +88,7 @@ jobs:
8288
push: true
8389
labels: ${{ steps.meta.outputs.labels }}
8490
tags: ${{ matrix.tags }}
91+
platforms: linux/amd64,linux/arm64
8592

8693
- name: Run Anchore vulnerability scanner
8794
uses: anchore/scan-action@v3

0 commit comments

Comments
 (0)