getporter / porter

Porter enables you to package your application artifact, client tools, configuration and deployment logic together as an installer that you can distribute, and install with a single command.
https://porter.sh
Apache License 2.0
1.23k stars 205 forks source link

Retag referenced images when they are relocated #3231

Open kichristensen opened 1 week ago

kichristensen commented 1 week ago

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