Skip to content

containers: print image layers and their sizes at the end of the build

Eric Engestrom requested to merge eric/ci-tron:ci-show-image-layers-sizes into main

Example output:

+ podman image tree registry.freedesktop.org/eric/ci-tron/gateway:2024-07-05.124-aarch64
Image ID: 3c5f72823bbe
Tags:     [registry.freedesktop.org/eric/ci-tron/gateway:2024-07-05.124-aarch64]
Size:     1.97GB
Image Layers
├── ID: 09ea1f5d97bb Size: 317.3MB
├── ID: d3532cc32284 Size: 1.603GB Top Layer of: [registry.freedesktop.org/eric/ci-tron/gateway-base:2024-07-05.1-aarch64]
└── ID: 84cb026e6116 Size: 49.21MB Top Layer of: [registry.freedesktop.org/eric/ci-tron/gateway:2024-07-05.124-aarch64]
+ podman image tree registry.freedesktop.org/eric/ci-tron/gateway:2024-07-05.124-x86_64
Image ID: d4c31c95635e
Tags:     [registry.freedesktop.org/eric/ci-tron/gateway:2024-07-05.124-x86_64]
Size:     1.724GB
Image Layers
├── ID: 2d4db3c28237 Size: 232.7MB
├── ID: fdb3506c8fee Size: 1.438GB Top Layer of: [registry.freedesktop.org/eric/ci-tron/gateway-base:2024-07-05.1-x86_64]
└── ID: b53a21784457 Size: 53.16MB Top Layer of: [registry.freedesktop.org/eric/ci-tron/gateway:2024-07-05.124-x86_64]

Merge request reports

Loading