diff --git a/Dockerfile b/Dockerfile index b7f4143..86a44d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,16 @@ ARG KUBEVIRTFROM FROM $KUBEVIRTFROM +# Mandatory labels for the build service: +# https://en.opensuse.org/Building_derived_containers # labelprefix=%%LABELPREFIX%% -PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-handler container" -PREFIXEDLABEL org.opencontainers.image.description="Virtualization handler for kubevirt" -PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%" -PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" -PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" -PREFIXEDLABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-handler:%%PKG_VERSION%%.%RELEASE%" +LABEL org.opencontainers.image.title="kubevirt virt-handler container" +LABEL org.opencontainers.image.description="Virtualization handler for kubevirt" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-handler:%%PKG_VERSION%%.%RELEASE%" +# endlabelprefix RUN zypper -n install \ curl \ diff --git a/virt-handler-container.changes b/virt-handler-container.changes index 72d9a56..69a10a6 100644 --- a/virt-handler-container.changes +++ b/virt-handler-container.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 4 07:27:52 UTC 2022 - Vasily Ulyanov + +- Use standard LABEL directive to add mandatory labels + ------------------------------------------------------------------- Wed Apr 27 12:45:21 UTC 2022 - Vasily Ulyanov