Add Support For Labels

This commit is contained in:
Matt Petersen 2024-07-15 12:09:16 -06:00
parent b55b06bc42
commit aba70161cf
8 changed files with 18 additions and 22 deletions

View file

@ -4,7 +4,7 @@ WORKDIR /var/app
RUN CGO_ENABLED=0 go build -o app .
FROM alpine:3.14
LABEL org.opencontainers.image.source https://github.com/radicldefense/manual-approval
LABEL org.opencontainers.image.source https://github.com/trstringer/manual-approval
RUN apk update && apk add ca-certificates
COPY --from=builder /var/app/app /var/app/app
CMD ["/var/app/app"]