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

Merged
merged 9 commits into from
Dec 11, 2024

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 <kimworking@gmail.com>
kichristensen and others added 2 commits October 9, 2024 23:35
Signed-off-by: Kim Christensen <kimworking@gmail.com>
@kichristensen kichristensen marked this pull request as ready for review October 10, 2024 21:09
@schristoff schristoff merged commit 6f85971 into getporter:main Dec 11, 2024
40 checks passed
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