Explicitly take first token of ':' splits
@@ -138,7 +138,7 @@ def main():
docker_tags = set()
for image in docker_client.images.list():
for tag in image.tags:
- tag, _ = tag.split(':')
+ tag = tag.split(':')[0]
docker_tags.add(tag)
if args.docker_tag:
