From c3cfee3552e869a0440debf89873ebfe2f118150 Mon Sep 17 00:00:00 2001 From: Jens Nylander Date: Sat, 17 Oct 2026 12:25:23 +0200 Subject: [PATCH] compose: pin every image, and say where the gate really is rspamd and mailpit tracked `latest`, so the stack you got depended on the day you pulled it and dependabot had nothing to raise a pull request against. Pinned at 4.2.2 and v1.31.6, and NATS moved 2.11 -> 2.15 while I was in there. publish.yml still said main was validated by ci.yml, which is gone. scripts/check.sh and scripts/e2e/run-e2e.sh are the gate, run before a tag goes up. --- .github/workflows/publish.yml | 5 +++-- docker-compose.test.yml | 2 +- docker-compose.yml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 172566c..88d71ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,8 +4,9 @@ name: Publish image # # Deliberately NOT on pushes to main. `latest` has to mean "latest release", # otherwise `docker compose up -d` hands a first-time user whatever landed on -# main an hour ago. Pushes to main are validated by ci.yml, which builds the -# image without pushing it. +# main an hour ago. Nothing validates main on GitHub - there is no CI workflow +# here by choice. `./scripts/check.sh` and `./scripts/e2e/run-e2e.sh` are the +# gate, and they run before a tag goes up. # # Each architecture is built on a native runner and merged into one manifest # afterwards: cross-building arm64 under QEMU turns a Rust release build into diff --git a/docker-compose.test.yml b/docker-compose.test.yml index dfcfd4c..aec3022 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -27,7 +27,7 @@ services: mailpit: - image: axllent/mailpit:latest + image: axllent/mailpit:v1.31.6 restart: unless-stopped environment: MP_SMTP_BIND_ADDR: "0.0.0.0:1025" diff --git a/docker-compose.yml b/docker-compose.yml index 52d0a9f..354986a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -90,7 +90,7 @@ services: networks: [sentio_net] nats: - image: nats:2.11-alpine + image: nats:2.15-alpine restart: unless-stopped command: ["-c", "/etc/nats/nats-server.conf"] volumes: @@ -150,7 +150,7 @@ services: networks: [sentio_net] rspamd: - image: rspamd/rspamd:latest + image: rspamd/rspamd:4.2.2 restart: unless-stopped depends_on: redis: { condition: service_healthy }