docker / docker/buildx

Bake fails to push if any targets don't have tags

Open
#1,159 4 comments 3 reactions 2 assignees View on GitHub

@colinhemmings is already working on this.

Since Jun 20, 2024.

area/bake
Dominant language
Go
Stars
4.5k
Forks
682
Avg merge
2d 14h
Merged PRs (30d)
29

Description

Currently we have some complex-ish logic about which tags apply to each target. In some cases a target may not need to be tagged at all.

When I bake --push, the whole thing fails immediately with error: tag is needed when pushing to registry

I think a better rule would be to show that error when no targets have tags? Or provide some way to do this kind of partial push

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.