Export images with different tags than their source #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
This PR adds the possibility to explicitly specify a tag for the exported image. If not specified, it'll keep using the tag of the source image.
Why
For #77 we need to use the image
tumbleweed:latest
, but want to export is asopensuse:tumbleweed
instead. This is not possible with the current behavior.References
Checklist
I tested this using two Ubuntu images in https://github.com/greenbone/vt-test-environments/actions/runs/12647975873?pr=79.
Without any
EXPORT_TAG
the image us built usingWith it it's built using