Skip to content

Commit b5c8d8e

Browse files
authored
Github Actions: Add support for multiplatform docker image (x86-64, arm) (prebid#3430)
1 parent 1afd0a1 commit b5c8d8e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/docker-image-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,18 @@ jobs:
5555
with:
5656
images: ${{ matrix.package-name }}
5757

58+
- name: Set up QEMU
59+
uses: docker/setup-qemu-action@v2
60+
61+
- name: Set up Docker Buildx
62+
uses: docker/setup-buildx-action@v2
63+
5864
- name: Build and push Docker image
5965
uses: docker/build-push-action@v5
6066
with:
6167
context: .
6268
file: ${{ matrix.dockerfile-path }}
6369
push: true
70+
platforms: linux/amd64,linux/arm64
6471
tags: ${{ steps.meta.outputs.tags }}
6572
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)