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.
This commit is contained in:
Jens Nylander
2026-10-17 12:25:23 +02:00
parent 67a690f557
commit c3cfee3552
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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 }