This commit is contained in:
Lars Gohr
2019-10-05 20:35:03 +02:00
parent 4c8e17858f
commit d9e2d3009c

View File

@@ -36,7 +36,7 @@ jobs:
## Outputs ## Outputs
`tag` is the tag, which was pushed `tag` is the tag, which was pushed
`snapshot-tag` is the tag that is generated by the `snapshot`-option and pushed `snapshot-tag` is the tag that is generated by the [snapshot-option](https://github.com/elgohr/Publish-Docker-Github-Action#snapshot) and pushed
## Optional Arguments ## Optional Arguments
@@ -52,7 +52,8 @@ with:
``` ```
### snapshot ### snapshot
Use `snapshot` to push an additional image, which is tagged with {YEAR}{MONTH}{DAY}{HOUR}{MINUTE}{SECOND}{first 6 digits of 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. 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. When you would like to think about versioning images, this might be useful.