mirror of
https://github.com/docker/metadata-action.git
synced 2025-12-06 07:48:16 +08:00
docs(README): Fix date format from 12h to 24h in schedule pattern
hh represents 12h format from 01 to 12 which is probably not suitable for date tags. The pattern example in the table below uses the 24h format HH, so this makes the document consistent. Signed-off-by: motoki317 <motoki317@gmail.com>
This commit is contained in:
@@ -464,7 +464,7 @@ tags: |
|
||||
# handlebars
|
||||
type=schedule,pattern={{date 'YYYYMMDD'}}
|
||||
# handlebars with timezone
|
||||
type=schedule,pattern={{date 'YYYYMMDD-hhmmss' tz='Asia/Tokyo'}}
|
||||
type=schedule,pattern={{date 'YYYYMMDD-HHmmss' tz='Asia/Tokyo'}}
|
||||
```
|
||||
|
||||
Will be used on [schedule event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule).
|
||||
|
||||
Reference in New Issue
Block a user