mirror of
https://github.com/docker/metadata-action.git
synced 2025-12-16 22:39:02 +08:00
docs(README): clarify how tags: set version
Signed-off-by: Brendon Smith <bws@bws.bio>
This commit is contained in:
parent
8d8c7c12f7
commit
5e7540ba13
@ -794,7 +794,7 @@ tags: |
|
|||||||
### `priority` attribute
|
### `priority` attribute
|
||||||
|
|
||||||
`priority=<int>` attribute is used to sort tags in the final list. The higher
|
`priority=<int>` attribute is used to sort tags in the final list. The higher
|
||||||
the value, the higher the priority. The first tag in the list (higher priority)
|
the value, the higher the priority. The highest-priority tag in the `tags` input list
|
||||||
will be used as the image version for generated OCI label and [`version` output](#outputs).
|
will be used as the image version for generated OCI label and [`version` output](#outputs).
|
||||||
Each tags `type` attribute has a default priority:
|
Each tags `type` attribute has a default priority:
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user