From 5ce37080120279a92b20271cf70c29b0ce71f4a9 Mon Sep 17 00:00:00 2001 From: Ignacy Osetek Date: Tue, 16 Apr 2024 15:14:19 +0200 Subject: [PATCH] Add Dockerfile repository label To automatically associate image with a repository in ghcr.io a label was added to a dockerfile. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index fa651ba..4567876 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,8 @@ FROM alpine:3.18.4 WORKDIR /root/ COPY --from=builder /root/go/src/github.com/awi-infra-guard/awi-infra-guard . +LABEL org.opencontainers.image.source https://github.com/app-net-interface/awi-infra-guard + # As k8s mounting makes it hard to create a file from a config map # within the directory with already present files, we create a symlink # to point to a new empty directory where actual config.yaml will be