fix: Add org.opencontainers.image.source LABEL for CI images (#113)
This commit is contained in:
parent
2c8776d2f2
commit
e6f97d4258
3 changed files with 37 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ FROM {{ recipe.base_image }}:{{ recipe.image_version }}
|
|||
LABEL {{ blue_build_utils::constants::BUILD_ID_LABEL }}="{{ build_id }}"
|
||||
LABEL org.opencontainers.image.title="{{ recipe.name }}"
|
||||
LABEL org.opencontainers.image.description="{{ recipe.description }}"
|
||||
{%- if let Some(repo) = self::get_repo_url() %}
|
||||
LABEL org.opencontainers.image.source="{{ repo }}"
|
||||
{%- endif %}
|
||||
LABEL io.artifacthub.package.readme-url=https://raw.githubusercontent.com/blue-build/cli/main/README.md
|
||||
|
||||
ARG RECIPE={{ recipe_path.display() }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue