Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Setup docker image form ARM arch

Smaug673996e48db00c63
diff --git a/.github/workflows/docker-image-deploy.yml b/.github/workflows/docker-image-deploy.yml
index d6b9e9d5..31376a18 100644
--- a/.github/workflows/docker-image-deploy.yml
+++ b/.github/workflows/docker-image-deploy.yml
@@ -7,6 +7,7 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
+
permissions:
contents: read
packages: write
@@ -19,6 +20,9 @@ jobs:
id: repo
run: echo "repo_lc=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
@@ -31,6 +35,7 @@ jobs:
with:
context: ./backend
push: true
+ platforms: linux/amd64,linux/arm64
no-cache: true
tags: |
ghcr.io/${{ steps.repo.outputs.repo_lc }}-backend:latest
@@ -41,6 +46,7 @@ jobs:
with:
context: ./frontend
push: true
+ platforms: linux/amd64,linux/arm64
no-cache: true
tags: |
ghcr.io/${{ steps.repo.outputs.repo_lc }}-frontend:latest