ci(HH-609): make cache export best-effort
Docker image / Test (pull_request) Successful in 46s
Docker image / Build and publish (pull_request) Successful in 2m30s

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-08-24 14:48:39 +08:00
co-authored by multica-agent
parent 1e10a943b2
commit 5422590e16
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -82,6 +82,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max,ignore-error=true
provenance: mode=max
sbom: true
+1
View File
@@ -13,6 +13,7 @@ grep -F 'packages: write' "$workflow" >/dev/null
grep -F 'ghcr.io/${{ github.repository }}' "$workflow" >/dev/null
grep -F 'platforms: linux/amd64' "$workflow" >/dev/null
grep -F 'needs: test' "$workflow" >/dev/null
grep -F 'cache-to: type=gha,mode=max,ignore-error=true' "$workflow" >/dev/null
# Match the GitHub expression literally.
# shellcheck disable=SC2016
grep -F 'push: ${{ github.event_name != '\''pull_request'\'' }}' "$workflow" >/dev/null