OCI containers loose configuration values after being published on ghcr.io

Hi everyone,

I’m currently evaluating GitHub Packages to host our OCI containers. Containers are built using Buildah on GitHub Actions and pushed to ghcr.io using podman push. All images are built upon an existing image which is referenced with the Parent configuration of the image (podman image inspect --format '{{.Parent}}' my-image retrns the parent image’s ID).

However, after pushing and later re-pulling the images from ghcr.io, they loose various configuration values - including the Parent configuration. Any ideas why this is happening? An image’s parent image ID is crucial for implementing an auto rebuild mechanism to keep images up to date.