From 33b5c4c2c2ad17d1b2e209e183e6db83fd6b6120 Mon Sep 17 00:00:00 2001 From: arnfinn Date: Mon, 6 Nov 2023 22:53:06 +0100 Subject: [PATCH] Bygg docker image til flere plattformer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prøver med amd64 og arm64 --- .github/workflows/docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cc87a0c..0b341d8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,6 +21,9 @@ jobs: matrix: config: - {name: imongr} + platform: + - linux/amd64 + - linux/arm64 name: Image shinyproxy-${{ matrix.config.name }} steps: - name: Check out the repo @@ -39,6 +42,8 @@ jobs: type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.0.0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3.0.0 - name: Login to DockerHub @@ -51,6 +56,7 @@ jobs: uses: docker/build-push-action@v5.0.0 with: context: ./${{ matrix.config.name }} + platforms: ${{ matrix.platform }} file: ./${{ matrix.config.name }}/Dockerfile push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.docker_meta.outputs.tags }}