Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
ci(github): enable docker build & push
johaven5ce5b3bacea2
diff --git a/.dockerignore b/.dockerignoreindex 7feafff8..dd9a9b8a 100644--- a/.dockerignore+++ b/.dockerignore@@ -1,8 +1,10 @@+.github.idea.run-backend/node_modules-backend/rundist+sync-in-server*+backend/logs+backend/node_modulesfrontend/node_modulesfrontend/.angularnode_modulesdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 7545ede0..6f9efa71 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -1,4 +1,4 @@-name: release.yml+name: Release Workflowon:push:tags:@@ -19,13 +19,32 @@ jobs:- name: Install dependenciesrun: npm ci- - name: Build release artifacts via NPM+ - name: Build release archivesrun: npm run release:build- name: Create GitHub Releaseuses: softprops/action-gh-release@v2+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:generate_release_notes: truefiles: |sync-in-server.zipsync-in-server.tar.gz++ - name: Clean build+ run: npm run release:clean++ - name: Docker Login+ uses: docker/login-action@v3+ with:+ username: ${{ secrets.DOCKERHUB_USERNAME }}+ password: ${{ secrets.DOCKERHUB_TOKEN }}++ - name: Docker Setup Buildx+ uses: docker/setup-buildx-action@v3++ - name: Docker Build & Push (multi-arch)+ run: npm run docker:buildx++