refactor: 优化 Docker 构建流程,分离 CI/本地开发镜像配置

This commit is contained in:
fawney19
2025-12-11 18:31:53 +08:00
parent 4275e6ec6b
commit 9142473640
4 changed files with 132 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ jobs:
with:
context: .
file: ./Dockerfile.base
push: ${{ github.event_name != 'pull_request' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
@@ -125,7 +125,7 @@ jobs:
with:
context: .
file: ./Dockerfile.app
push: ${{ github.event_name != 'pull_request' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha