docker / docker/github-builder

Bake build limited to single target

未关闭
#43 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

kind/docs
主要语言
没有语言数据
星标
83
派生
23
平均合并
2 天 22 小时
30 天内合并 PR
8

描述

We currently limit Bake build to a single target: https://github.com/docker/github-builder-experimental/blob/e875129c872af249a9411fc0b1b1d1fe79ee6ddf/.github/workflows/bake.yml#L226-L228

Mainly because we don't have a way to discern which generated tags are associated to a target but also because a target could output build result locally while another one would push to registry.

We should document this but also explain how users can use a matrix strategy to solve this issue. For example using our matrix subaction: https://github.com/docker/bake-action/tree/master/subaction/matrix

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从链接的 .github/workflows/bake.yml 第 226-228 行开始,了解单目标限制,然后查看链接的 bake-action subaction/matrix 示例。记录 Bake 为什么仅限于一个目标,并解释用户如何使用矩阵策略处理多个目标。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, github-actions
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。