Skip to content

Commit

Permalink
docker: Reintroduce cross-platform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Aug 7, 2024
1 parent f4e7dcd commit 85db664
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ jobs:
runs-on: ubuntu-latest
needs:
- test_docker
strategy:
fail-fast: true
matrix:
platform:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -107,6 +115,7 @@ jobs:
id: ghcr-push
with:
context: .
platforms: ${{ matrix.platform }}
push: true
tags: ${{ steps.ghcr-meta.outputs.tags }}
labels: ${{ steps.ghcr-meta.outputs.labels }}
Expand All @@ -129,6 +138,7 @@ jobs:
id: dh-push
with:
context: .
platforms: ${{ matrix.platform }}
push: true
tags: ${{ steps.dh-meta.outputs.tags }}
labels: ${{ steps.dh-meta.outputs.labels }}
Expand Down

0 comments on commit 85db664

Please sign in to comment.