gitea/.github
Arif Er adf7018bfd
Fix OCI image.version annotation for releases to use full semver (#33698)
This commit fixes the docker build workflow such that semver-tagged
releases use the full semver for the OCI
`org.opencontainers.image.version` annotation, instead of using the
major version only.

This is done by changing the order of the tags that the
`docker/metadata-action` action is told to generate. Since the tags that
the action is told to generate are all of the same priority, the first
in the list will be used to set the annotation.

There is no need to fix the other two docker build workflows, i.e., (i)
the nightly releases and (ii) the rc-tagged releases. This is because
(i) the nightly releases do not get tagged with a semver, so the issue
does not exist, and (ii) rc-tagged releases only get built with one tag,
so the issue of needing to set an order of how tags are generated is
irrelevant.

Resolves go-gitea/gitea#33697.
2025-02-24 01:37:37 -05:00
..
ISSUE_TEMPLATE Update README.md (#33149) 2025-01-10 16:03:07 +08:00
workflows Fix OCI image.version annotation for releases to use full semver (#33698) 2025-02-24 01:37:37 -05:00
FUNDING.yml Remove bountysource (#29330) 2024-02-22 19:53:03 +01:00
actionlint.yaml Update actionlint.yaml 2024-12-12 15:45:27 -05:00
labeler.yml Count typescript files as frontend for labeling (#32088) 2024-09-21 18:26:36 +00:00
pull_request_template.md Have new announcement about docs contributions (#31364) 2024-06-14 11:17:05 +08:00