Update docker-image.yml

main
Katelya 2025-08-31 15:32:28 +08:00 committed by GitHub
parent aee8a2a59c
commit 5e1b92fe88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ jobs:
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.platform }}
outputs: |
type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }}
provenance: false # 添加此行以禁用每个平台构建上的来源元数据
provenance: false # 已添加,禁用 provenance
sbom: false # 新添加,禁用 SBOM 以确保输出单个 manifest
- name: Export digest
if: github.event_name != 'pull_request'
run: |