feat: add Docker Hub as primary registry for anonymous pulls

GHCR requires authentication even for public packages on some systems.
CI now pushes to both GHCR and Docker Hub. docker-compose.yml and Helm
chart point to Docker Hub where anonymous pulls always work. Build
directives kept as fallback for source-based builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anoracleofra-code
2026-03-28 08:13:14 -06:00
parent 66df14a93c
commit a3e7a2bc6b
6 changed files with 113 additions and 43 deletions
+4 -7
View File
@@ -46,17 +46,14 @@ if [ ! -f "$COMPOSE_FILE" ]; then
fi
# Detect stale compose file from pre-migration clones (before March 2026).
# 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
# Old versions used ghcr.io which requires auth. Current file uses Docker Hub.
if grep -q 'ghcr\.io' "$COMPOSE_FILE" 2>/dev/null; then
echo ""
echo "================================================================"
echo " [!] WARNING: Your docker-compose.yml is outdated."
echo ""
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 " It references ghcr.io which may require authentication."
echo " The current version uses Docker Hub for anonymous pulls."
echo ""
echo " Fix: re-clone the repository:"
echo " cd .. && rm -rf $(basename "$SCRIPT_DIR")"