feat: Apply OCI source label to Docker image (#6070)

chore: Apply OCI source label to Docker image

This patch adds the `org.opencontainers.image.source` label to
the Zitadel Docker image. This label is used by dependency update
tools like Dependabot and Renovate to look up release notes for
Docker image updates.

Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
Fabian Meyer 2023-07-06 13:32:41 +02:00 committed by GitHub
parent bb756482c7
commit a36818c222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ RUN adduser -D zitadel && \
## Scratch Image ## Scratch Image
####################### #######################
FROM scratch as final FROM scratch as final
LABEL org.opencontainers.image.source="https://github.com/zitadel/zitadel"
COPY --from=artifact /etc/passwd /etc/passwd COPY --from=artifact /etc/passwd /etc/passwd
COPY --from=artifact /etc/ssl/certs /etc/ssl/certs COPY --from=artifact /etc/ssl/certs /etc/ssl/certs
COPY --from=artifact /app / COPY --from=artifact /app /