From 2ed1b390d792c5b5e49cee9dda4d7b1005ee8042 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Tue, 13 Sep 2022 15:02:36 +0200 Subject: [PATCH] add labels --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Dockerfile b/Dockerfile index 183ec25b..580c273e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,23 @@ #!BuildTag: suse/alp/workloads/distribution:3.0-%RELEASE% #!BuildTag: suse/alp/workloads/distribution:latest +LABEL maintainer="Marco Varlese " + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=com.suse.alp.workloads.distribution +LABEL org.opencontainers.image.title="Distribution registry Container Image" +LABEL org.opencontainers.image.description="Distribution registry container based on BCI" +LABEL org.opencontainers.image.version="3.0" +LABEL org.opencontainers.image.url="https://gitea.opensuse.org/fcrozat/distributionr/" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opensuse.reference="registry.opensuse.org/suse/alp/workloads/tumbleweed_containerfiles/suse/alp/workloads/distribution-3.0-%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL com.suse.supportlevel="techpreview" +LABEL com.suse.eula="beta" +LABEL com.suse.image-type="application" +LABEL com.suse.release-stage="alpha" +# endlabelprefix + ARG BCI_MICRO=registry.suse.com/bci/bci-micro ARG BCI_GO=registry.suse.com/bci/golang ARG GO_VERSION=1.18