Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

ci(github): reorder npm & docker deployment

johaven8614d4c29c8c
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1170722b..0fbac7dd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -22,6 +22,19 @@ jobs:
- name: Build release archives
run: npm run release:build
+ # Publish to DockerHub
+ - 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
+
# Publish to NPM
- name: Setup Node for npmjs
uses: actions/setup-node@v4
@@ -56,15 +69,3 @@ jobs:
- 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