From 5f6218d22849ffcd71bc9c6867763a977670454e Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 16 May 2020 20:35:12 +0200 Subject: [PATCH] :hammer: Implement OCI image specification on labels --- chrony/Dockerfile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/chrony/Dockerfile b/chrony/Dockerfile index ee2fa26..296d701 100644 --- a/chrony/Dockerfile +++ b/chrony/Dockerfile @@ -28,12 +28,14 @@ LABEL \ io.hass.type="addon" \ io.hass.version=${BUILD_VERSION} \ maintainer="Paul Sinclair " \ - org.label-schema.description="chrony NTP Server" \ - org.label-schema.build-date=${BUILD_DATE} \ - org.label-schema.name="chrony" \ - org.label-schema.schema-version="1.0" \ - org.label-schema.url="https://github.com/hassio-addons/repository" \ - org.label-schema.usage="https://github.com/hassio-addons/addon-chrony/tree/master/README.md" \ - org.label-schema.vcs-ref=${BUILD_REF} \ - org.label-schema.vcs-url="https://github.com/hassio-addons/addon-chrony" \ - org.label-schema.vendor="Community Home Assistant Addons" + org.opencontainers.image.title="chrony" \ + org.opencontainers.image.description="chrony NTP Server" \ + org.opencontainers.image.vendor="Home Assistant Community Add-ons" \ + org.opencontainers.image.authors="Paul Sinclair " \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.url="https://addons.community" \ + org.opencontainers.image.source="https://github.com/hassio-addons/addon-chrony" \ + org.opencontainers.image.documentation="https://github.com/hassio-addons/addon-chrony/blob/master/README.md" \ + org.opencontainers.image.created=${BUILD_DATE} \ + org.opencontainers.image.revision=${BUILD_REF} \ + org.opencontainers.image.version=${BUILD_VERSION}