Change snapshot tag to contain the date

This commit is contained in:
Lars Gohr
2019-08-25 19:56:47 +02:00
parent 12169ed809
commit 07e6ebee2d
6 changed files with 26 additions and 15 deletions

View File

@@ -41,7 +41,8 @@ with:
registry: "docker.pkg.github.com"
```
Use `snapshot` to push an additional image, which is tagged with the git sha.
Use `snapshot` to push an additional image, which is tagged with {YEAR}{MONTH}{DAY}{HOUR}{MINUTE}{SECOND}{first 6 digits of the git sha}.
The date was inserted to prevent new builds with external dependencies override older builds with the same sha.
When you would like to think about versioning images, this might be useful.
```yaml