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.
10 lines
440 B
Bash
Executable file
10 lines
440 B
Bash
Executable file
#!/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
|