Skip to content
This repository was archived by the owner on Jan 14, 2021. It is now read-only.

Commit 1362112

Browse files
authored
Merge pull request #61 from fedora-infra/feature/stable-container-branches
Also construct container tags from stable updates tags.
2 parents ccd5e80 + 17edf56 commit 1362112

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pdcupdater/utils.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,14 @@ def interesting_container_tags():
517517
concerned with.
518518
"""
519519
tags = interesting_tags()
520+
521+
suffix = '-updates'
522+
for i, tag in enumerate(tags):
523+
if tag.endswith(suffix):
524+
tags[i] = tag[:-len(suffix)]
525+
520526
tags = [tag for tag in tags if '-' not in tag]
527+
521528
return ['%s-docker' % tag for tag in tags] + \
522529
['%s-container' % tag for tag in tags]
523530

0 commit comments

Comments
 (0)