aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-24 15:22:06 +0000
committerGitHub <noreply@github.com>2022-03-24 15:22:06 +0000
commit1b389abbfd26e949b2d511c64f20b5575aaecf79 (patch)
tree602047714ec1886bfba698d03af29c4dd3feacbd /build
parentbb31b25f1b3c7330a33b31f310aa73f99457031e (diff)
Upload Docker images for releases to both Docker Hub and GitHub Container Registry (#2299)
* Upload Docker images for releases to both Docker Hub and GitHub Container Registry * Build current images on `:main` tag * Use Dendrite flow to trigger Docker flow for `:main` * Tweaks * Fix references to `env.GHCR_NAMESPACE`
Diffstat (limited to 'build')
-rw-r--r--build/docker/Dockerfile.monolith4
-rw-r--r--build/docker/Dockerfile.polylith4
2 files changed, 8 insertions, 0 deletions
diff --git a/build/docker/Dockerfile.monolith b/build/docker/Dockerfile.monolith
index 7fd25674..0d2a141a 100644
--- a/build/docker/Dockerfile.monolith
+++ b/build/docker/Dockerfile.monolith
@@ -13,6 +13,10 @@ RUN go build -trimpath -o bin/ ./cmd/create-account
RUN go build -trimpath -o bin/ ./cmd/generate-keys
FROM alpine:latest
+LABEL org.opencontainers.image.title="Dendrite (Monolith)"
+LABEL org.opencontainers.image.description="Next-generation Matrix homeserver written in Go"
+LABEL org.opencontainers.image.source="https://github.com/matrix-org/dendrite"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
COPY --from=base /build/bin/* /usr/bin/
diff --git a/build/docker/Dockerfile.polylith b/build/docker/Dockerfile.polylith
index 819926c4..c266fd48 100644
--- a/build/docker/Dockerfile.polylith
+++ b/build/docker/Dockerfile.polylith
@@ -13,6 +13,10 @@ RUN go build -trimpath -o bin/ ./cmd/create-account
RUN go build -trimpath -o bin/ ./cmd/generate-keys
FROM alpine:latest
+LABEL org.opencontainers.image.title="Dendrite (Polylith)"
+LABEL org.opencontainers.image.description="Next-generation Matrix homeserver written in Go"
+LABEL org.opencontainers.image.source="https://github.com/matrix-org/dendrite"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
COPY --from=base /build/bin/* /usr/bin/