Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retag referenced images when they are relocated #3231

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kichristensen
Copy link
Contributor

@kichristensen kichristensen commented Oct 6, 2024

What does this change

During relocation of referenced images, the images will loose their tag, and only be able through the <BUNDLE_NAME>@<DIGEST>.
This makes it hard to use the image from outside the bundle. This is also a prerequisite for #2670.

What issue does it fix

Closes #2711

Notes for the reviewer

The bundle stamp is updated to contain information on if we are preserving tags, the reason is that change the setting requires a rebuild of the bundle.

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

@kichristensen kichristensen changed the title Retag relocated images Retag referenced images when they are relocated Oct 6, 2024
During relocation of referenced images, the images will no longer loose
their tag and name.

Signed-off-by: Kim Christensen <[email protected]>
@kichristensen kichristensen marked this pull request as ready for review October 10, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retag referenced images when they are relocated
2 participants