Fix pipeline
Some checks failed
Test build / build (push) Failing after 31s

This commit is contained in:
Adam Štrauch 2024-08-13 21:24:30 +02:00
parent ed6ea70fa5
commit fece0be44e
Signed by: cx
GPG key ID: 7262DAFE292BCE20

View file

@ -32,7 +32,7 @@ with open("Dockerfile") as f:
output["techs"][name]["versions"].append(version)
# os.system(f"docker pull {image}")
system_version = subprocess.check_output(f"podman run --rm {image} cat /etc/debian_version", shell=True)
system_version = subprocess.check_output(f"docker run --rm {image} cat /etc/debian_version", shell=True)
output["system"]["version"] = system_version.strip().decode()
print(json.dumps(output, indent=4))