Add back rancher/webhook-specific labels #432
Open
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.
Issue: rancher/rancher#45231
Problem
Some labels are missing or wrong in the new webhook images built by GHA (docker buildx).
Some labels were previously added by drone via layers. An example can be seen here: rancher/rancher-webhook:v0.5.0-rc10. With this change, the labels still won't show up as layers, but you will be able to see them using
docker image inspect <image>
.A comparison of images:
We can observe the following:
.git
suffix to the source label, drone didIt seems pretty straightforward to pick and choose which label we want to override from the base BCI image, we just gotta decide on which.