11 lines
440 B
Bash
11 lines
440 B
Bash
|
|
#!/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
|