From 0df55fa9ab8721db2936ad927361f4fedbd31f58 Mon Sep 17 00:00:00 2001 From: Marvin Beckers Date: Fri, 10 Jan 2025 10:01:08 +0100 Subject: [PATCH] Add opencontainer labels to image Signed-off-by: Marvin Beckers --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index dc99944..a321421 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,10 @@ FROM --platform=${BUILDPLATFORM} docker.io/golang:1.23.4 AS builder ARG TARGETOS ARG TARGETARCH +LABEL org.opencontainers.image.source=https://github.com/kcp-dev/api-syncagent +LABEL org.opencontainers.image.description="A Kubernetes agent to synchronize APIs and their objects between Kubernetes clusters and kcp" +LABEL org.opencontainers.image.licenses=Apache-2.0 + WORKDIR /go/src/github.com/kcp-dev/api-syncagent COPY . . RUN GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} make clean api-syncagent