Bake build limited to single target
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, github-actions
- Domain
- documentation
Research direction
Start with the linked .github/workflows/bake.yml lines 226-228 to understand the single-target limitation, then review the linked bake-action subaction/matrix example. Document why Bake is limited to one target and explain how users can use a matrix strategy to handle multiple targets.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- No language data
- Stars
- 83
- Forks
- 23
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/github-builder
-
kind/enhancement status/triage
Difficulty 3/5 1-2 days Newbie friendliness 52/100
docker/github-builder#282 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
docker/github-builder#251 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
docker/github-builder#209 ·
-
kind/enhancement
Difficulty 3/5 1-2 days Newbie friendliness 65/100
docker/github-builder#207 · 1 comment ·
-
kind/enhancement status/triage
Difficulty 5/5 Over a week Newbie friendliness 25/100
docker/github-builder#203 · 1 comment ·
All issues in docker/github-builder
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
NeedsTriage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
error Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·