Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
fix(ci): rebuild the production apt layer on branch image builds
Yudhi Armyndharis7d07569fbecf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ad84c9e4c..33c813d34 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -458,6 +458,11 @@ jobs:sbom: truecache-from: type=ghacache-to: type=gha,mode=max+ # Never serve the production stage's apt layer from cache on branch builds either: a+ # cached hit installs whatever the apt index held when the layer was first built, so a+ # `:main` image can ship OS packages Debian has since patched. release.yml's docker+ # build carries the same line plus the incident record that motivated it.+ no-cache-filters: production# The image carries no USER directive by design: docker-entrypoint.sh starts as root to fix# named-volume ownership, then drops with `exec gosu openwa`. Nothing verified that drop —diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 55958d29a..de6fa02eb 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -37,6 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0recreate changes that id by default, so with `AUTO_START_SESSIONS` off nothing revisited the row andit went on reporting an engine no process was running. The sweep now runs regardless of that flag;adopting a session still requires it.+- The `:main` and sha Docker images rebuild the production stage's apt layer on every build instead+ of serving it from cache, so a branch image cannot ship OS packages that Debian has since patched.+ The release path already worked this way, after a cached layer shipped stale chromium twice.## [0.23.4] - 2026-09-05