The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
build(docker): OCI labels on the images, so Renovate links an update to its release notes
Maurice81ebc31698fc
diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.ymlindex b8ff35a65..4a35a0920 100644--- a/.github/workflows/docker-dev.yml+++ b/.github/workflows/docker-dev.yml@@ -92,6 +92,12 @@ jobs:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}+ - name: Image metadata+ id: meta+ run: |+ echo "revision=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"+ echo "created=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "$GITHUB_OUTPUT"+- name: Build and push by digestid: builduses: docker/build-push-action@v6@@ -102,6 +108,9 @@ jobs:no-cache: truebuild-args: |APP_VERSION=${{ needs.version-bump.outputs.version }}+ labels: |+ org.opencontainers.image.revision=${{ steps.meta.outputs.revision }}+ org.opencontainers.image.created=${{ steps.meta.outputs.created }}- name: Export digestrun: |@@ -163,7 +172,12 @@ jobs:digests+=("mauriceboe/trek@sha256:$(basename "$f")")donedone+ # The labels live on each platform image; the index gets the ones a+ # client reads before it picks a platform (#1498).docker buildx imagetools create \+ --annotation "index:org.opencontainers.image.source=https://github.com/liketrek/TREK" \+ --annotation "index:org.opencontainers.image.version=$VERSION" \+ --annotation "index:org.opencontainers.image.licenses=AGPL-3.0-only" \-t "mauriceboe/trek:latest-pre" \-t "mauriceboe/trek:$MAJOR_TAG" \-t "mauriceboe/trek:$VERSION" \diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 34dfee87e..ec5447c67 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -138,6 +138,12 @@ jobs:username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}+ - name: Image metadata+ id: meta+ run: |+ echo "revision=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"+ echo "created=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "$GITHUB_OUTPUT"+- name: Build and push by digestid: builduses: docker/build-push-action@v6@@ -148,6 +154,9 @@ jobs:no-cache: truebuild-args: |APP_VERSION=${{ needs.version-bump.outputs.version }}+ labels: |+ org.opencontainers.image.revision=${{ steps.meta.outputs.revision }}+ org.opencontainers.image.created=${{ steps.meta.outputs.created }}- name: Export digestrun: |@@ -207,7 +216,12 @@ jobs:digests+=("mauriceboe/trek@sha256:$(basename "$f")")donedone+ # The labels live on each platform image; the index gets the ones a+ # client reads before it picks a platform (#1498).docker buildx imagetools create \+ --annotation "index:org.opencontainers.image.source=https://github.com/liketrek/TREK" \+ --annotation "index:org.opencontainers.image.version=$VERSION" \+ --annotation "index:org.opencontainers.image.licenses=AGPL-3.0-only" \-t "mauriceboe/trek:latest" \-t "mauriceboe/trek:$MAJOR_TAG" \-t "mauriceboe/trek:$VERSION" \diff --git a/Dockerfile b/Dockerfileindex 01d6f0ab6..fb2cbb33f 100644--- a/Dockerfile+++ b/Dockerfile@@ -123,6 +123,17 @@ ENV PORT=3000ARG APP_VERSION=devENV APP_VERSION=${APP_VERSION}+# OCI metadata: Renovate, Watchtower and the registries read the source label to+# link an image update to its release notes (#1498). The release workflows add+# the commit and the build time; a local build carries everything else.+LABEL org.opencontainers.image.title="TREK" \+ org.opencontainers.image.description="Self-hosted collaborative travel planner" \+ org.opencontainers.image.url="https://github.com/liketrek/TREK" \+ org.opencontainers.image.source="https://github.com/liketrek/TREK" \+ org.opencontainers.image.documentation="https://github.com/liketrek/TREK/wiki" \+ org.opencontainers.image.licenses="AGPL-3.0-only" \+ org.opencontainers.image.version="${APP_VERSION}"+EXPOSE 3000HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \