完善最后的测试2
All checks were successful
Build and Push Docker Images / build-and-push (backend) (push) Successful in 20s
Build and Push Docker Images / build-and-push (frontend) (push) Successful in 29s

This commit is contained in:
小贺
2025-09-04 10:23:48 +08:00
parent 9537f614c7
commit 3d6bacbe90

View File

@@ -69,9 +69,7 @@ jobs:
push: true push: true
tags: ${{ steps.meta-backend.outputs.tags }} tags: ${{ steps.meta-backend.outputs.tags }}
labels: ${{ steps.meta-backend.outputs.labels }} labels: ${{ steps.meta-backend.outputs.labels }}
cache-from: type=registry,ref=gitea.zfxt.top/zfxt/backend:latest
cache-to: type=registry,ref=gitea.zfxt.top/zfxt/backend:latest,mode=max
# 构建和推送前端镜像 # 构建和推送前端镜像
- name: Build and push frontend image - name: Build and push frontend image
if: matrix.service == 'frontend' if: matrix.service == 'frontend'
@@ -82,5 +80,3 @@ jobs:
push: true push: true
tags: ${{ steps.meta-frontend.outputs.tags }} tags: ${{ steps.meta-frontend.outputs.tags }}
labels: ${{ steps.meta-frontend.outputs.labels }} labels: ${{ steps.meta-frontend.outputs.labels }}
cache-from: type=registry,ref=gitea.zfxt.top/zfxt/frontend:latest
cache-to: type=registry,ref=gitea.zfxt.top/zfxt/frontend:latest,mode=max