docker: Reintroduce cross-platform builds

This commit is contained in:
Elian Doran 2024-08-07 23:46:12 +03:00
parent f4e7dcd5e8
commit 85db664756
No known key found for this signature in database

View File

@ -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
@ -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 }}
@ -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 }}