summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-12-09 16:27:13 -0500
committerGitHub <noreply@github.com>2020-12-09 16:27:13 -0500
commit77180a42968a992cfc75384a34f873566d3f2aff (patch)
treef3bda74c3dba231fd9637feb083f1221dd13b33a /.github
parentab95c954967515ce76e8742ce524fb29a35f4c6b (diff)
Explicitly set platform for Docker builds. (#10357)
Needed to accomodate our new handling of our base and builder images.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 1575475729..8c503fe8bf 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -23,6 +23,15 @@ jobs:
- i386
- armhf
- aarch64
+ include:
+ - arch: amd64
+ platform: linux/amd64
+ - arch: i386
+ platform: linux/i386
+ - arch: armhf
+ platform: linux/arm/v7
+ - arch: aarch64
+ platform: linux/arm64
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -32,4 +41,4 @@ jobs:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Test Docker Build
run:
- docker build --build-arg ARCH=${{ matrix.arch }} -f packaging/docker/Dockerfile .
+ docker build --build-arg ARCH=${{ matrix.arch }} --platform ${{ matrix.platform }} -f packaging/docker/Dockerfile .