Skip to content

fix(self-host): pin the compose Postgres image by version and digest - #606

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-11418-pin-the-compose-files-images-by-digest
Oct 25, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-11418-pin-the-compose-files-images-by-digest

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Stacked on #604.

  • compose.yml: Postgres is postgres:17.11@sha256:b8faeff7712663c2773a190181e1246e37e364b887611c04658c28b44e2408fe, the same Debian 17 image as before, at its newest minor, pinned to its multi-arch index digest (read anonymously from the Docker Hub registry API). The volume mount is unchanged.
  • tooling/exact-deps-check.ts: every compose*.yml service that pulls its image (no build) must name a major.minor version and a sha256 digest, or bun run check fails.

Verification

  • bun tooling/exact-deps-check.ts fails on postgres:17, on a major-only tag with a digest and on a version without a digest; passes on the pinned image.
  • bun install --frozen-lockfile, bun run check, bun run lint pass.
  • docker compose config: the pinned image and /var/lib/postgresql/data. The Docker daemon does not answer, so nothing was pulled or started.

Closes CL-11418

@linear-code

linear-code Bot commented Oct 25, 2026

Copy link
Copy Markdown

CL-11418

@TheGreatAxios
TheGreatAxios force-pushed the cl-11457-build-the-hub-image-locally-by-default-when-self-hosting branch 4 times, most recently from dc31463 to 93adadb Compare October 25, 2026 15:04
@TheGreatAxios
TheGreatAxios force-pushed the cl-11418-pin-the-compose-files-images-by-digest branch from 817bf59 to 56ae8f3 Compare October 25, 2026 15:18
@TheGreatAxios
TheGreatAxios force-pushed the cl-11457-build-the-hub-image-locally-by-default-when-self-hosting branch from 93adadb to 4e98cae Compare October 25, 2026 15:21
@TheGreatAxios
TheGreatAxios force-pushed the cl-11418-pin-the-compose-files-images-by-digest branch from 56ae8f3 to 4197a72 Compare October 25, 2026 15:21
@TheGreatAxios
TheGreatAxios force-pushed the cl-11457-build-the-hub-image-locally-by-default-when-self-hosting branch from 4e98cae to da6757f Compare October 25, 2026 15:28
@TheGreatAxios
TheGreatAxios force-pushed the cl-11418-pin-the-compose-files-images-by-digest branch from 4197a72 to 0af87c2 Compare October 25, 2026 15:28
@TheGreatAxios
TheGreatAxios changed the base branch from cl-11457-build-the-hub-image-locally-by-default-when-self-hosting to main October 25, 2026 15:32
@TheGreatAxios
TheGreatAxios marked this pull request as ready for review October 25, 2026 15:32
@corbits-triage

corbits-triage Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

Triage will approve.
Waiting on a maintainer to approve: request review.

@TheGreatAxios
TheGreatAxios changed the base branch from main to cl-11457-build-the-hub-image-locally-by-default-when-self-hosting October 25, 2026 18:42
@TheGreatAxios
TheGreatAxios force-pushed the cl-11457-build-the-hub-image-locally-by-default-when-self-hosting branch from da6757f to 85db7a7 Compare October 25, 2026 20:23
@TheGreatAxios
TheGreatAxios force-pushed the cl-11418-pin-the-compose-files-images-by-digest branch from 0af87c2 to 373e216 Compare October 25, 2026 20:24
@TheGreatAxios
TheGreatAxios changed the base branch from cl-11457-build-the-hub-image-locally-by-default-when-self-hosting to main October 25, 2026 20:29
@TheGreatAxios
TheGreatAxios merged commit 4c72ddb into main Oct 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant