Skip to content

Commit 0df55fa

Browse files
committed
Add opencontainer labels to image
Signed-off-by: Marvin Beckers <[email protected]>
1 parent 55ff2dc commit 0df55fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ FROM --platform=${BUILDPLATFORM} docker.io/golang:1.23.4 AS builder
1616
ARG TARGETOS
1717
ARG TARGETARCH
1818

19+
LABEL org.opencontainers.image.source=https://github.com/kcp-dev/api-syncagent
20+
LABEL org.opencontainers.image.description="A Kubernetes agent to synchronize APIs and their objects between Kubernetes clusters and kcp"
21+
LABEL org.opencontainers.image.licenses=Apache-2.0
22+
1923
WORKDIR /go/src/github.com/kcp-dev/api-syncagent
2024
COPY . .
2125
RUN GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} make clean api-syncagent

0 commit comments

Comments
 (0)