Update tagging/taggers.py

This commit is contained in:
Ayaz Salikhov
2021-06-29 01:51:33 +03:00
committed by GitHub
parent 54d4c06c80
commit 054aff20ee

View File

@@ -54,7 +54,8 @@ class UbuntuVersionTagger(TaggerInterface):
@staticmethod
def tag_value(container) -> str:
os_release = DockerRunner.run_simple_command(
container, "cat /etc/os-release"
container,
"cat /etc/os-release",
).split("\n")
for line in os_release:
if line.startswith("VERSION_ID"):