From 3396680a66b2746f07be462de8918a2ab4a437a0 Mon Sep 17 00:00:00 2001 From: Jeffrey Bouter <6340770+jbouter@users.noreply.github.com> Date: Tue, 1 Mar 2022 13:32:05 +0100 Subject: [PATCH] feat(docker): Add support for ARM (#280) Signed-off-by: Jeffrey Bouter --- .github/workflows/docker-release-edge.yml | 4 ++++ .github/workflows/docker-release-stable.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/docker-release-edge.yml b/.github/workflows/docker-release-edge.yml index bb0d19d..d201dbb 100644 --- a/.github/workflows/docker-release-edge.yml +++ b/.github/workflows/docker-release-edge.yml @@ -28,6 +28,7 @@ jobs: TAGS="warpnetbv/salt-lint:edge" echo ::set-output name=release_tag::${RELEASE_TAG} echo ::set-output name=tags::${TAGS} + - name: Login to Dockerhub uses: docker/login-action@v1 with: @@ -40,3 +41,6 @@ jobs: with: push: true tags: ${{ steps.prep.outputs.tags }} + platforms: |- + linux/amd64 + linux/arm64 diff --git a/.github/workflows/docker-release-stable.yml b/.github/workflows/docker-release-stable.yml index a675ad5..0ff5ec3 100644 --- a/.github/workflows/docker-release-stable.yml +++ b/.github/workflows/docker-release-stable.yml @@ -28,6 +28,7 @@ jobs: TAGS="warpnetbv/salt-lint:${GITHUB_REF#refs/*/},warpnetbv/salt-lint:latest" echo ::set-output name=release_tag::${RELEASE_TAG} echo ::set-output name=tags::${TAGS} + - name: Login to Dockerhub uses: docker/login-action@v1 with: @@ -40,3 +41,6 @@ jobs: with: push: true tags: ${{ steps.prep.outputs.tags }} + platforms: |- + linux/amd64 + linux/arm64