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:
parent
32320635dc
commit
9a9c740b9a
3 changed files with 150 additions and 12 deletions
10
scripts/pull-forgejo-images.sh
Executable file
10
scripts/pull-forgejo-images.sh
Executable 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
|
||||
Loading…
Reference in a new issue