ci: publish all OSINT images to Forgejo registry

Push api/pg/news-scraper/news-summarizer to
forgejo.siriusdevops.com/sirius/* on every master build, then deploy
on the Pi runner. No GHCR. Helper script retags pulls to localhost/*
for compose.
This commit is contained in:
Sirius Devops 2026-08-28 03:55:00 +00:00
commit 9a9c740b9a
3 changed files with 150 additions and 12 deletions

10
scripts/pull-forgejo-images.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Pull OSINT images from Forgejo registry and retag for docker-compose (localhost/*).
set -euo pipefail
REG="${FORGEJO_REGISTRY:-forgejo.siriusdevops.com}"
OWN="${FORGEJO_OWNER:-sirius}"
for name in osint-dashboard osint-dashboard-pg osint-news-scraper osint-news-summarizer; do
docker pull "${REG}/${OWN}/${name}:latest"
docker tag "${REG}/${OWN}/${name}:latest" "localhost/${name}:latest"
echo "ok ${name}"
done