Open phish108 opened 2 years ago
Usecase For docker containers semver is not always the best way of tagging. Instead date tags are used to indicate the most recent release (by date). In order to have date versions sortable, the date should be in reverse order (yyyy-mm-dd).
add a style parameter.
style
style: description: "choose versioning style" required: false default: "semver"
Potential values:
semver
datetime
yyyymmddhhmm
date
yyyymmdd
dotdate
yyyy.mm.dd
dotdatetime
yyyy.mm.dd.hh.mm
isodate
yyyy-mm-dd
isodatetime
yyyy-mm-ddThh-mm
isodatetime uses a dash for the hour-minute separator instead of the colon. This is because the colon is forbidden with container labels.
Usecase For docker containers semver is not always the best way of tagging. Instead date tags are used to indicate the most recent release (by date). In order to have date versions sortable, the date should be in reverse order (yyyy-mm-dd).
add a
style
parameter.Potential values:
semver
- the old behaviourdatetime
- the flat date-time timestamp as a tag (yyyymmddhhmm
)date
- flat date without time as a tag (yyyymmdd
)dotdate
- the date with dots (yyyy.mm.dd
)dotdatetime
- the date time with dots (yyyy.mm.dd.hh.mm
)isodate
- the date in ISO format with dashes as separators (yyyy-mm-dd
)isodatetime
- ISO date-time with (yyyy-mm-ddThh-mm
)isodatetime
uses a dash for the hour-minute separator instead of the colon. This is because the colon is forbidden with container labels.