Natural sorting of tags, add last 5 event to tags page.

This commit is contained in:
Roman Vynar
2018-03-06 22:23:52 +02:00
parent 1e0bb7d8ff
commit 9c73934382
6 changed files with 47 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ func PurgeOldTags(client *Client, purgeDryRun bool, purgeTagsKeepDays, purgeTags
for _, tag := range tags {
_, infoV1, _ := client.TagInfo(repo, tag, true)
if infoV1 == "" {
logger.Errorf("[%s] manifest missed for tag %s", repo, tag)
logger.Errorf("[%s] missing manifest v1 for tag %s", repo, tag)
continue
}
created := gjson.Get(gjson.Get(infoV1, "history.0.v1Compatibility").String(), "created").Time()