Add docker login to build-push.sh and watch-loop.sh for registry auth (HTTP secret)
This commit is contained in:
@@ -42,6 +42,9 @@ else
|
||||
TARGETS=("dd0c-drift" "dd0c-alert" "dd0c-portal" "dd0c-cost" "dd0c-run")
|
||||
fi
|
||||
|
||||
# Login to registry
|
||||
echo "secret" | docker login "$REGISTRY" --username dd0c --password-stdin 2>/dev/null || true
|
||||
|
||||
echo -e "${YELLOW}dd0c Build & Push — $(date -u '+%Y-%m-%d %H:%M UTC')${NC}"
|
||||
echo -e "Registry: ${REGISTRY}\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user