Docker config for @recaptime.dev's Knot server on Hack Club Nest. knot.hackclub.community
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(docker): update image metadata (aka the org.opencontainers.image.* labels)

This commit involves updating the source repo URL to reflect where the image builds happens,
as well as to mention @recaptime-dev (@recaptime.dev in the Atmosphere/Tangled) as the
vendor/distributor of the image, among other things (including updating the docs link to point to
the new docs site).

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@crew.recaptime.dev>

+8 -7
+1 -1
.gitlab-ci.yml
··· 54 54 DOCKER_BUILDKIT: "1" 55 55 # env vars for build/ci-publish-builds 56 56 IMAGE_NAME: $CI_REGISTRY/$CI_PROJECT_PATH 57 - DOCKER_BUILD_REPO: https://tangled.org/recaptime.dev/knot-docker-nest 57 + DOCKER_BUILD_REPO: https://gitlab.com/recaptime-dev/infra/docker/tangled-knotserver 58 58 # enable "set +x" for debugging 59 59 DEBUG: "true" 60 60
+7 -6
Dockerfile
··· 17 17 EXPOSE 22 18 18 19 19 ARG DOCKER_BUILD_COMMIT 20 - ARG DOCKER_BUILD_REPO 20 + ARG DOCKER_BUILD_REPO=https://gitlab.com/recaptime-dev/infra/docker/tangled-knotserver 21 21 22 - LABEL org.opencontainers.image.title='knot' \ 23 - org.opencontainers.image.description='data server for tangled' \ 24 - org.opencontainers.image.source=${DOCKER_BUILD_REPO}} \ 22 + LABEL org.opencontainers.image.title='Knot data server for Tangled (Recap Time Squad image distribution)' \ 23 + org.opencontainers.image.description="Tangled's data server for hosting Git repositories in the Atmosphere" \ 24 + org.opencontainers.image.source=${DOCKER_BUILD_REPO} \ 25 25 org.opencontainers.image.url='https://tangled.org' \ 26 - org.opencontainers.image.vendor='tangled.org' \ 26 + org.opencontainers.image.vendor='Recap Time Squad' \ 27 + org.opencontainers.image.authors="Andrei Jiroh Halili <ajhalili2006@crew.recaptime.dev>" \ 27 28 org.opencontainers.image.licenses='MIT' \ 28 29 org.opencontainers.image.revision=${DOCKER_BUILD_COMMIT} \ 29 - org.opencontainers.image.documentation='https://tangled.org/tangled.org/core/blob/master/docs/knot-hosting.md' 30 + org.opencontainers.image.documentation='https://docs.tangled.org/knot-self-hosting-guide.html' 30 31 31 32 ENV TANGLED_REPO_URL=${KNOT_REPO_URL} DOCKER_BUILD_COMMIT=${DOCKER_BUILD_COMMIT} DOCKER_BUILD_REPO=${DOCKER_BUILD_REPO} KNOT_REPO_SCAN_PATH=/home/git/repositories 32 33