posit-dev / posit-dev/images-shared
Support first-class aliases for image variant tags
@ianpittwood is already working on this.
Since Sep 18, 2026.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 22
Description
Problem
Bakery supports a single tagDisplayName for an image variant. When a variant needs multiple tag names—for example, the Standard variant should be published using both std and default—the current workaround is to add several hard-coded tagPatterns to the variant.
That is clunky and easy to get wrong because aliases must manually reproduce the desired combinations for version, OS, latest, and release-channel tags, including the appropriate filters.
Proposed improvement
Add first-class support for variant tag aliases, for example:
variants:
- name: Standard
extension: std
tagDisplayName: std
tagAliases:
- default
primary: true
The aliases should participate anywhere the canonical variant tag is used, while preserving the existing primary-variant and primary-OS filtering behavior. This should create equivalent tags such as:
1.0.0-ubuntu-22.04-std1.0.0-ubuntu-22.04-defaultdefaultfor the latest primary variant
The naming and exact configuration shape are open to discussion; the goal is to avoid duplicating tag-pattern logic for common aliases.
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.
Assessment
This issue has not been assessed yet.