Currently auto tagging is based on git tag semver. It would be cool if we could have a system to define tagging policies based on current branch and git tag.
For example this policy would always set the tag 'latest' on the main branch and attempt to parse semver info from the git tag.
tag_policies:
- branch: main
static_tags: [latest]
git_tag_semver: true
This policy would set the static tag 'dev' on the dev branch.
...
- branch: dev
static_tags: [dev]
By creating a system in which the end user defines their own policy, we avoid forcing people to use a specific way of setting tags when they use plugin-buildah.
This is an underdeveloped idea I have for the future of the project. Any comments are welcome.
Currently auto tagging is based on git tag semver. It would be cool if we could have a system to define tagging policies based on current branch and git tag.
For example this policy would always set the tag 'latest' on the main branch and attempt to parse semver info from the git tag.
This policy would set the static tag 'dev' on the dev branch.
By creating a system in which the end user defines their own policy, we avoid forcing people to use a specific way of setting tags when they use plugin-buildah.
This is an underdeveloped idea I have for the future of the project. Any comments are welcome.