Skip to content

Commit

Permalink
Keep all the image in the dpkg versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jan 9, 2024
1 parent c2b64ee commit 05d58ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions c2cciutils/scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ def main() -> None:

if not dpkg_success:
current_versions_in_images = {}
if os.path.exists("ci/dpkg-versions.yaml"):
with open("ci/dpkg-versions.yaml", encoding="utf-8") as dpkg_versions_file:
current_versions_in_images = yaml.load(dpkg_versions_file, Loader=yaml.SafeLoader)
for image in images_src:
_, versions_image = c2cciutils.lib.docker.get_dpkg_packages_versions(image)
current_versions_in_images[image] = {k: str(v) for k, v in versions_image.items()}
Expand Down

0 comments on commit 05d58ee

Please sign in to comment.