From 0f7ec4cfec40ea0ee377c56e4d356898064df1a4 Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Thu, 4 Jul 2019 22:08:02 +0000 Subject: [PATCH] chore: fix container labels This addresses issues faced when trying to publish conform as a GitHub action. Signed-off-by: Andrew Rynhard --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 47b8838d..96dacea4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,10 +36,12 @@ FROM alpine:3.9 as ca-certificates RUN apk add --update --no-cache ca-certificates FROM scratch AS image -LABEL com.github.actions.name="Conform" -LABEL com.github.actions.description="Policy enforcement for your pipelines." -LABEL com.github.actions.icon="shield" -LABEL com.github.actions.color="yellow" +LABEL "com.github.actions.name"="Conform Action" +LABEL "com.github.actions.description"="Policy enforcement for your pipelines." +LABEL "com.github.actions.icon"="check-circle" +LABEL "com.github.actions.color"="black" +LABEL "repository"="https://github.com/talos-systems/conform.git" +LABEL "maintainer"="Andrew Rynhard " COPY --from=ca-certificates /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /conform-linux-amd64 /conform ENTRYPOINT [ "/conform" ]