1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-05-10 09:30:01 +02:00

feat: Add tag_with_latest option for tagging with latest additionally

When skipping the push on unchanged digests, it's not enough to push the current tag,
which is probably semver, we also need to push the latest, so we can later check if
the latest digest equals the currently built image
This commit is contained in:
Doron Somech 2020-06-20 14:37:54 +03:00 committed by Alex Viscreanu
parent 94f437184e
commit 79ed56ad90
3 changed files with 20 additions and 0 deletions

View file

@ -54,6 +54,7 @@ the most used values. So, technically there is a single required argument
| strip_tag_prefix | Prefix to be stripped from the tag | false | |
| skip_unchanged_digest | Avoids pushing the image if the build generated the same digest | false | |
| path | Path to the build context. Defaults to `.` | false | . |
| tag_with_latest | Tags the built image with additional latest tag | false | |
**Here is where it gets specific, as the optional arguments become required depending on the registry targeted**