更新 .gitea/workflows/build-image.yaml

This commit is contained in:
2026-09-23 17:48:46 +08:00
parent 7925735a3e
commit 3b671d6086
+3 -1
View File
@@ -44,7 +44,9 @@ jobs:
context: .
file: Dockerfile.gitea
push: true
cache-from: type=registry
cache-to: type=registry,mode=max
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tag }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}-latest
# 注意:type=gha 缓存在本实例的 runner 上会 404(cache server 未配),勿加回