Skip to content

Build your personal knowledge base with Trilium Notes

docker: Reintroduce cross-platform builds

Elian Doran85db664756dd
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index c503746145..9f1b7154c0 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -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 }}