From b405ef17be61ae000ddb8fe5eb60cb28a5c9827b Mon Sep 17 00:00:00 2001 From: d0zingcat Date: Tue, 13 Jan 2026 21:32:31 +0800 Subject: [PATCH] fix: ci pack Signed-off-by: d0zingcat --- .github/workflows/ci.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9c3d29..d59eddf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,22 +28,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push Server image + - name: Build and push unified image uses: docker/build-push-action@v5 with: context: . - file: apps/server/Dockerfile + file: Dockerfile push: true tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-server:latest - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-server:${{ github.sha }} - - - name: Build and push Web image - uses: docker/build-push-action@v5 - with: - context: . - file: apps/web/Dockerfile - push: true - tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-web:latest - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-web:${{ github.sha }} + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}