Make sure to filter hidden tags from the active tags query
This commit is contained in:
parent
197e10cf65
commit
4a1fad7520
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def list_active_repo_tags(repo):
|
||||||
query = _tag_alive(RepositoryTag
|
query = _tag_alive(RepositoryTag
|
||||||
.select(RepositoryTag, Image, TagManifest.digest)
|
.select(RepositoryTag, Image, TagManifest.digest)
|
||||||
.join(Image)
|
.join(Image)
|
||||||
.where(RepositoryTag.repository == repo)
|
.where(RepositoryTag.repository == repo, RepositoryTag.hidden == False)
|
||||||
.switch(RepositoryTag)
|
.switch(RepositoryTag)
|
||||||
.join(TagManifest, JOIN_LEFT_OUTER))
|
.join(TagManifest, JOIN_LEFT_OUTER))
|
||||||
|
|
||||||
|
|
Reference in a new issue