shlinkio / shlink-web-client

A React-based client application for Shlink
https://app.shlink.io
MIT License
288 stars 76 forks source link

Dockerfile: add org.opencontainers.image.source LABEL #1154

Closed james-callahan closed 5 months ago

james-callahan commented 5 months ago

I'd like to take advantage of renovate's changelog support (https://docs.renovatebot.com/modules/datasource/docker/)

To do so, the recommended way is to add the standard OCI label org.opencontainers.image.source. This is useful for all sorts of tools.

A full list of pre-defined annotations is available at: https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys

github-actions[bot] commented 5 months ago

Preview environment

https://shlinkio.github.io/shlink-web-client/oci-label/

acelaya commented 5 months ago

It probably makes more sense to automate setting these labels in all Shlink images via https://github.com/docker/metadata-action

See https://github.com/shlinkio/github-actions/issues/2

But thanks anyway 🙂

acelaya commented 5 months ago

All Shlink docker images published in the future will now include the opencontainers labels.

image