chore: revert docker-compose to GHCR registry

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anoracleofra-code
2026-03-28 09:11:53 -06:00
co-authored by Claude Opus 4.6
parent 466b1c875f
commit d419ee63e1
5 changed files with 19 additions and 19 deletions
+7 -4
View File
@@ -46,14 +46,17 @@ if [ ! -f "$COMPOSE_FILE" ]; then
fi
# Detect stale compose file from pre-migration clones (before March 2026).
# Old versions used ghcr.io which requires auth. Current file uses Docker Hub.
if grep -q 'ghcr\.io' "$COMPOSE_FILE" 2>/dev/null; then
# The current compose file uses "image:" to pull pre-built images from GHCR.
# Old versions had "build:" directives that compile from local source — much
# slower and will NOT pick up new releases.
if grep -q '^\s*build:' "$COMPOSE_FILE" 2>/dev/null; then
echo ""
echo "================================================================"
echo " [!] WARNING: Your docker-compose.yml is outdated."
echo ""
echo " It references ghcr.io which may require authentication."
echo " The current version uses Docker Hub for anonymous pulls."
echo " It contains 'build:' directives, which means Docker is"
echo " compiling from local source instead of pulling pre-built"
echo " images. You will NOT receive updates this way."
echo ""
echo " Fix: re-clone the repository:"
echo " cd .. && rm -rf $(basename "$SCRIPT_DIR")"