kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Infra: Move main-tagged images to a separate package

Open Haarolean opened this issue 10 months ago • 4 comments

To reduce clutter in packages:

  • release images must be kept as is, snapshots (pushes to main) should be published in a separate package (ECR and GHCR, but not docker hub), like kafbat/kafka-ui-rc (rc for release candidate, naming discussable)
  • ~~RC images should be named as a short commit sha rather than a long one as they are at the moment~~ - done in #581
  • after implementing the issue, let's cleanup old RC builds from the main package

Haarolean avatar Jan 15 '25 19:01 Haarolean

#601 related, kinda

Haarolean avatar Jan 15 '25 19:01 Haarolean

Do not publish sha-style images on every commit, so there will be only main (recreated every push) and release tags

I do not believe this is desirable. In fact, it is a good idea to do what we are doing right now because it is easy to downgrade in case of regressions. One idea to make it even easier is to create a tag using the git commit id to make it even easier to discover.

What we can do close to what you are looking to do is to create a tag main or latest that will be updated with every main push

yeikel avatar Jan 16 '25 15:01 yeikel

Do not publish sha-style images on every commit, so there will be only main (recreated every push) and release tags

I do not believe this is desirable. In fact, it is a good idea to do what we are doing right now because it is easy to downgrade in case of regressions. One idea to make it even easier is to create a tag using the git commit id to make it even easier to discover.

What we can do close to what you are looking to do is to create a tag main or latest that will be updated with every main push

I understand the concern and I find these intermediate images useful as well. We've discussed this and decided to move snapshot images to a separate package (on both ghcr and ecr, but not docker hub). I'll update the description shortly.

Haarolean avatar Jan 23 '25 04:01 Haarolean

This is good for grabs

Haarolean avatar Jan 23 '25 04:01 Haarolean