mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-07-17 17:27:25 +02:00
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:
+4
-7
@@ -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")"
|
||||
|
||||
Reference in New Issue
Block a user