Add opencontainer image spec labels to dockerfile #6044
Closed
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.
Hi,
This commit will add the label ´org.opencontainers.image.source="https://github.com/n8n-io/n8n"´ to the base dockerfile and the ones not extending the former. https://github.com/opencontainers/image-spec/blob/main/annotations.md
The PR will ensure better integration with eg. dependency bots using that piece of information to gather changelog from github to put it into a PR, one such example is renovate https://docs.renovatebot.com/modules/datasource/docker/
The label will extend from the base to the extendees pr label docs https://docs.docker.com/engine/reference/builder/#label