fix: 修正 HA builder action 的 tag 引用(7.2.0 -> 2026.09.0) - #3
Merged
Merged
Conversation
Build Add-on Image 在合并后首次运行即失败:
##[error]Can't find 'action.yml', 'action.yaml' or 'Dockerfile'
for action 'home-assistant/builder/actions/prepare-multi-arch-matrix@7.2.0'.
根因:home-assistant/builder 存在两条版本线。
- 7.x(7.0 / 7.1 / 7.2.0):旧版 builder,**仓库内没有 actions/ 目录**
- 2026.x(2026.09.0 等):新版,含 actions/{build-image,
prepare-multi-arch-matrix,publish-multi-arch-manifest,cosign-verify}
实测对比(两个 tag 各自的 clone):
tag 7.2.0 → azure-pipelines.yml builder.sh build.json Dockerfile ...
actions/ 不存在
tag 2026.09.0 → actions/ action.yml ...(4 个子 action 齐全)
官方 README 示例中的 @[version] 指的是 releases 页面上的 tag,
即日历版本(2026.09.0),而非 7.x 那条线。此前取了 7.2.0 属实误判。
C3H3-AI
force-pushed
the
fix/builder-action-tag
branch
from
September 15, 2026 05:56
3dc52cc to
513f794
Compare
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.
Description / 变更描述
修复
Build Add-on Image在 PR #2 合并后首次运行即失败的问题。失败现象
失败发生在
Set up job阶段 —— 即 job 还没开始跑就挂了,后续三个 job 全部 skipped。根因
home-assistant/builder存在两条版本线,我此前取错了:actions/子 action?7.x(7.0 / 7.1 / 7.2.0)azure-pipelines.ymlbuilder.shbuild.jsonDockerfileactions/目录2026.x(2026.09.0 等)actions/action.ymlAI_POLICY.md实测对比(两个 tag 分别 clone 后
ls):官方 README 示例里的
@[version]指的是 releases 页面上的 tag,即日历版本(
2026.09.0),而非7.x那条旧线。此前取了7.2.0属实误判。改动
三个 action 引用统一改为
@2026.09.0:actions/prepare-multi-arch-matrix@2026.09.0actions/build-image@2026.09.0actions/publish-multi-arch-manifest@2026.09.0改动仅 3 行,不涉及其他逻辑。
Type of change / 变更类型
Testing / 测试
action 路径修正后待真机验证(PR 不触发该 workflow)
Checklist / 自检清单