Skip to content

Commit

Permalink
Bygg docker image til flere plattformer (#29)
Browse files Browse the repository at this point in the history
Prøver med amd64 og arm64
  • Loading branch information
arnfinn authored Nov 6, 2023
1 parent 418b5b2 commit cede5ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -39,6 +42,8 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
Expand All @@ -51,6 +56,7 @@ jobs:
uses: docker/[email protected]
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 }}
Expand Down

0 comments on commit cede5ea

Please sign in to comment.