Skip to content

Commit 8c0a606

Browse files
committed
Add support for multi-platform builds in GitHub Actions workflow
1 parent a5c66fc commit 8c0a606

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/posting.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: docker/build-push-action@v6
4444
with:
4545
file: "./docker/command/Dockerfile"
46+
platforms: linux/amd64,linux/arm64
4647
push: true
4748
tags: ${{ vars.DOCKERHUB_USERNAME }}/pryvt_posting_command:${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }}
4849
- name: Build without push
@@ -69,6 +70,7 @@ jobs:
6970
uses: docker/build-push-action@v6
7071
with:
7172
file: "./docker/query/Dockerfile"
73+
platforms: linux/amd64,linux/arm64
7274
push: true
7375
tags: ${{ vars.DOCKERHUB_USERNAME }}/pryvt_posting_query:${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }}
7476
- name: Build without push

0 commit comments

Comments
 (0)