Repository navigation
fix(ci): 修复阿里云 ACR 镜像清单推送失败 - #3
Merged
Merged
Conversation
zhou-hao
marked this pull request as ready for review
November 23, 2026 12:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
application/vnd.oci.empty.v1+json。核心变动
.github/workflows/docker-image.yml、README.md。provenance: false和sbom: false,不再附加 ACR 不支持的证明清单;保留 amd64/arm64 镜像清单。7004ed8,ACR 清单兼容修复及本地 OCI 对比验证。设计与测试目标
测试结果
actionlint .github/workflows/docker-image.yml、git diff --check;使用临时 docker-container 构建器,对相同最小镜像分别执行docker buildx build --platform linux/amd64,linux/arm64 --provenance=mode=max --sbom=false --output type=oci,...与--provenance=false --sbom=false,解析 OCI 索引及全部 manifest/config。7004ed8a2c376179e378462dab502724ee738f5d、treeddea9204eacbeee25329dfb723b7ba6f8bd12590;合并提交29fc2198e2f4b28fe7e57efa32d7449828d034d4的 tree 与本地验证完全一致;最终 PR 和 master CI 均通过。--push;合并后 master CI 成功(6 分 34 秒),基础及扩展镜像均成功推送至 Docker Hub 和阿里云 ACR,4/4 清单推送成功、2/2 缓存导出成功。两个实际构建命令均显式禁用 provenance/SBOM。文档同步情况
README.md。风险与说明