Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Enhance GitHub Actions workflow for server app deployment (#35)
Ylber Gashi147c4230d9af
diff --git a/.github/workflows/publish-server-app.yml b/.github/workflows/publish-server-app.ymlindex b2df5e34..aad5a8ae 100644--- a/.github/workflows/publish-server-app.yml+++ b/.github/workflows/publish-server-app.yml@@ -14,7 +14,11 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - name: Checkout repository+ uses: actions/checkout@v4++ - name: Set up QEMU+ uses: docker/setup-qemu-action@v3- name: Set up Docker Buildxuses: docker/setup-buildx-action@v3@@ -36,6 +40,7 @@ jobs:context: .file: ./apps/server/Dockerfilepush: true+ platforms: linux/amd64,linux/arm64build-args: |VERSION=${{ steps.get_version.outputs.VERSION }}SHA=${{ github.sha }}diff --git a/apps/server/Dockerfile b/apps/server/Dockerfileindex 702934f5..473240d8 100644--- a/apps/server/Dockerfile+++ b/apps/server/Dockerfile@@ -7,7 +7,7 @@ ARG SHARUN echo "{\"version\":\"$VERSION\",\"sha\":\"$SHA\"}" > build.json# Copy root workspace files-COPY ../../package.json ../../package-lock.json ./+COPY package.json package-lock.json ./# Copy scriptsCOPY ../../scripts scripts