🔨 Implement OCI image specification on labels

This commit is contained in:
Franck Nijhof 2020-05-16 14:27:43 +02:00
parent 5c56262966
commit 8082b9793d
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -139,16 +139,20 @@ ARG BUILD_VERSION
# Labels # Labels
LABEL \ LABEL \
io.hass.name="Addon Python base for ${BUILD_ARCH}" \
io.hass.description="Home Assistant Community Add-on: ${BUILD_ARCH} Python base image" \
io.hass.arch="${BUILD_ARCH}" \ io.hass.arch="${BUILD_ARCH}" \
io.hass.type="base" \ io.hass.type="base" \
io.hass.version=${BUILD_VERSION} \ io.hass.version=${BUILD_VERSION} \
maintainer="Franck Nijhof <frenck@addons.community>" \ maintainer="Franck Nijhof <frenck@addons.community>" \
org.label-schema.description="Home Assistant Community Add-on: ${BUILD_ARCH} Python Base image" \ org.opencontainers.image.title="Addon Python base for ${BUILD_ARCH}" \
org.label-schema.build-date=${BUILD_DATE} \ org.opencontainers.image.description="Home Assistant Community Add-on: ${BUILD_ARCH} Python base image" \
org.label-schema.name="Add-on Python base for ${BUILD_ARCH}" \ org.opencontainers.image.vendor="Home Assistant Community Add-ons" \
org.label-schema.schema-version="1.0" \ org.opencontainers.image.authors="Franck Nijhof <frenck@addons.community>" \
org.label-schema.url="https://addons.community" \ org.opencontainers.image.licenses="MIT" \
org.label-schema.usage="https://github.com/hassio-addons/addon-base-python/blob/master/README.md" \ org.opencontainers.image.url="https://addons.community" \
org.label-schema.vcs-ref=${REF} \ org.opencontainers.image.source="https://github.com/hassio-addons/addon-base-python" \
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-base-python" \ org.opencontainers.image.documentation="https://github.com/hassio-addons/addon-base-python/blob/master/README.md" \
org.label-schema.vendor="Home Assistant Community Add-ons" org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}