Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Bake build limited to single target

未關閉
#43 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
45/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
docker, github-actions
領域
documentation

研究方向

先從連結的 .github/workflows/bake.yml 第 226-228 行開始,了解單一目標的限制,然後查看連結的 bake-action subaction/matrix 範例。記錄 Bake 為何僅限於一個目標,並說明使用者如何使用矩陣策略處理多個目標。

由索引模型根據 Issue 內容生成。

描述

kind/docs

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

主要語言
沒有語言資料
星號
84
分支
23
平均合併
2 天 22 小時
30 天內合併 PR
8

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

docker/github-builder 的其他 Issue

查看 docker/github-builder 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。