Browse Source

fix(docker): Fix Docker lables for source and docs (#21332)

Burak Yigit Kaya 4 years ago
parent
commit
97795a0f75
2 changed files with 3 additions and 3 deletions
  1. 2 2
      docker/Dockerfile
  2. 1 1
      docker/builder.dockerfile

+ 2 - 2
docker/Dockerfile

@@ -5,8 +5,7 @@ LABEL maintainer="oss@sentry.io"
 LABEL org.opencontainers.image.title="Sentry"
 LABEL org.opencontainers.image.description="Sentry runtime image"
 LABEL org.opencontainers.image.url="https://sentry.io/"
-LABEL org.opencontainers.image.documentation="https://github.com/getsentry/onpremise/tree/v10"
-LABEL org.opencontainers.image.source="https://github.com/getsentry/sentry"
+LABEL org.opencontainers.image.documentation="https://develop.sentry.dev/self-hosted/"
 LABEL org.opencontainers.image.vendor="Functional Software, Inc."
 LABEL org.opencontainers.image.authors="oss@sentry.io"
 
@@ -132,4 +131,5 @@ CMD ["run", "web"]
 ARG SOURCE_COMMIT
 ENV SENTRY_BUILD=${SOURCE_COMMIT:-unknown}
 LABEL org.opencontainers.image.revision=$SOURCE_COMMIT
+LABEL org.opencontainers.image.source="https://github.com/getsentry/sentry/tree/${SOURCE_COMMIT:-master}/"
 LABEL org.opencontainers.image.licenses="https://github.com/getsentry/sentry/blob/${SOURCE_COMMIT:-master}/LICENSE"

+ 1 - 1
docker/builder.dockerfile

@@ -4,7 +4,6 @@ LABEL maintainer="oss@sentry.io"
 LABEL org.opencontainers.image.title="Sentry Wheel Builder"
 LABEL org.opencontainers.image.description="Python Wheel Builder for Sentry"
 LABEL org.opencontainers.image.url="https://sentry.io/"
-LABEL org.opencontainers.image.source="https://github.com/getsentry/sentry"
 LABEL org.opencontainers.image.vendor="Functional Software, Inc."
 LABEL org.opencontainers.image.authors="oss@sentry.io"
 
@@ -51,4 +50,5 @@ ENV SENTRY_PYTHON3=1
 ARG SOURCE_COMMIT
 ENV SENTRY_BUILD=${SOURCE_COMMIT:-unknown}
 LABEL org.opencontainers.image.revision=$SOURCE_COMMIT
+LABEL org.opencontainers.image.source="https://github.com/getsentry/sentry/tree/${SOURCE_COMMIT:-master}/"
 LABEL org.opencontainers.image.licenses="https://github.com/getsentry/sentry/blob/${SOURCE_COMMIT:-master}/LICENSE"