You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to run the cleanup command for the built images.
Observe the behavior.
Result
The cleanup command keeps the images and removes stages associated with them.
Expected result
The cleanup command should successfully keep the images and stages associated with them.
Additional information
This is related to the bug Buildah #3866. During cleanup, our logic excludes the entire stage chain by using the digest obtained after the build. With Buildah, there is currently no way to retrieve the actual digest without publishing to a container registry.
We can wait for the issue to be resolved in Buildah. Still, we will take an alternative approach by decoupling the cleanup logic from the digest in favor of image tags, which, in the case of werf, already serve as a unique identifier for the image.
The text was updated successfully, but these errors were encountered:
Before proceeding
Version
1.2.330 / 2.10.10
How to reproduce
Result
The cleanup command keeps the images and removes stages associated with them.
Expected result
The cleanup command should successfully keep the images and stages associated with them.
Additional information
This is related to the bug Buildah #3866. During cleanup, our logic excludes the entire stage chain by using the digest obtained after the build. With Buildah, there is currently no way to retrieve the actual digest without publishing to a container registry.
We can wait for the issue to be resolved in Buildah. Still, we will take an alternative approach by decoupling the cleanup logic from the digest in favor of image tags, which, in the case of werf, already serve as a unique identifier for the image.
The text was updated successfully, but these errors were encountered: