mirror of
https://github.com/truespar/sentio.git
synced 2026-11-18 08:17:37 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user