From 9b91b5847e7bfecb48af0bf41a069be92a7c04e9 Mon Sep 17 00:00:00 2001 From: mr-forust Date: Sun, 27 Sep 2026 18:11:45 +0200 Subject: [PATCH] fix(compose): stop pointing at the tag the build dropped These five stacks still asked for :latest, but the build stopped pushing it - on main it only pushes main and prod, on dev only dev. Every one of these images therefore resolved only because the registry still had a stale :latest from before that change, and the next time one of them was actually built the reference would have dangled. Named for dtek-notif: of the seven, only that one still resolved at :prod, because it is the only image not rebuilt since the build dropped :latest - and it is the only one of these five stacks the deploy does not manage (no `active` marker, and its file is docker-compose.yaml, which the COMPOSE_STACKS glob does not even match). Touching dtek_notif/docker-compose.yaml matches dtek_notif/* in the build's changed-service detector, so pushing this builds it and publishes :prod for it too. Verified the other six resolve at :prod in the registry. --- dtek_notif/docker-compose.yaml | 2 +- edu_master/compose.yaml | 4 ++-- errorpages/compose.yaml | 2 +- homepages/compose.yaml | 4 ++-- userbot/compose.yaml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dtek_notif/docker-compose.yaml b/dtek_notif/docker-compose.yaml index e45fa7c..fae46c5 100644 --- a/dtek_notif/docker-compose.yaml +++ b/dtek_notif/docker-compose.yaml @@ -3,7 +3,7 @@ services: build: context: . dockerfile: Dockerfile - image: gcr.forust.xyz/forust/dtek-notif:latest + image: gcr.forust.xyz/forust/dtek-notif:prod pull_policy: build restart: unless-stopped environment: diff --git a/edu_master/compose.yaml b/edu_master/compose.yaml index 4461ae6..a87d9ff 100644 --- a/edu_master/compose.yaml +++ b/edu_master/compose.yaml @@ -17,7 +17,7 @@ services: session-keeper: build: ./phpsessid-bot - image: gcr.forust.xyz/forust/session-keeper:latest + image: gcr.forust.xyz/forust/session-keeper:prod pull_policy: build env_file: .env restart: unless-stopped @@ -33,7 +33,7 @@ services: webinar-checker: build: ./webinar-checker - image: gcr.forust.xyz/forust/webinar-checker:latest + image: gcr.forust.xyz/forust/webinar-checker:prod pull_policy: build env_file: .env restart: unless-stopped diff --git a/errorpages/compose.yaml b/errorpages/compose.yaml index 0048268..5a812e3 100644 --- a/errorpages/compose.yaml +++ b/errorpages/compose.yaml @@ -1,7 +1,7 @@ services: errorpage: build: . - image: gcr.forust.xyz/forust/error-pages:latest + image: gcr.forust.xyz/forust/error-pages:prod pull_policy: build container_name: error-pages restart: unless-stopped diff --git a/homepages/compose.yaml b/homepages/compose.yaml index e6f5c73..37016ec 100644 --- a/homepages/compose.yaml +++ b/homepages/compose.yaml @@ -3,7 +3,7 @@ services: build: context: . dockerfile: Dockerfile.forust - image: gcr.forust.xyz/forust/forust-homepage:latest + image: gcr.forust.xyz/forust/forust-homepage:prod pull_policy: build # ports: # - "8085:80" @@ -35,7 +35,7 @@ services: build: context: . dockerfile: Dockerfile.xdfnx - image: gcr.forust.xyz/forust/xdfnx-homepage:latest + image: gcr.forust.xyz/forust/xdfnx-homepage:prod pull_policy: build restart: unless-stopped # ports: diff --git a/userbot/compose.yaml b/userbot/compose.yaml index 78a991d..db8e8e6 100644 --- a/userbot/compose.yaml +++ b/userbot/compose.yaml @@ -3,7 +3,7 @@ services: build: context: . dockerfile: Dockerfile - image: gcr.forust.xyz/forust/userbot:latest + image: gcr.forust.xyz/forust/userbot:prod pull_policy: build restart: unless-stopped env_file: @@ -18,7 +18,7 @@ services: - 1.1.1.1 anna: - image: gcr.forust.xyz/forust/userbot:latest + image: gcr.forust.xyz/forust/userbot:prod pull_policy: build depends_on: - forust