Switch registry to reg.dd0c.net (HTTPS on 443)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# dd0c CI Build & Push to Local Registry
|
# dd0c CI Build & Push to Local Registry
|
||||||
# Builds Docker images for all Node services and pushes to 192.168.86.11:30095
|
# Builds Docker images for all Node services and pushes to reg.dd0c.net
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# ./build-push.sh # Build all services
|
# ./build-push.sh # Build all services
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
REGISTRY="${REGISTRY:-192.168.86.11:30095}"
|
REGISTRY="${REGISTRY:-reg.dd0c.net}"
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ services:
|
|||||||
|
|
||||||
# P2: IaC Drift Detection (SaaS)
|
# P2: IaC Drift Detection (SaaS)
|
||||||
drift:
|
drift:
|
||||||
image: 192.168.86.11:30095/dd0c-drift:latest
|
image: reg.dd0c.net/dd0c-drift:latest
|
||||||
build:
|
build:
|
||||||
context: ./02-iac-drift-detection/saas
|
context: ./02-iac-drift-detection/saas
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -125,7 +125,7 @@ services:
|
|||||||
|
|
||||||
# P3: Alert Intelligence
|
# P3: Alert Intelligence
|
||||||
alert:
|
alert:
|
||||||
image: 192.168.86.11:30095/dd0c-alert:latest
|
image: reg.dd0c.net/dd0c-alert:latest
|
||||||
build:
|
build:
|
||||||
context: ./03-alert-intelligence
|
context: ./03-alert-intelligence
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -144,7 +144,7 @@ services:
|
|||||||
|
|
||||||
# P4: Lightweight IDP / Service Catalog
|
# P4: Lightweight IDP / Service Catalog
|
||||||
portal:
|
portal:
|
||||||
image: 192.168.86.11:30095/dd0c-portal:latest
|
image: reg.dd0c.net/dd0c-portal:latest
|
||||||
build:
|
build:
|
||||||
context: ./04-lightweight-idp
|
context: ./04-lightweight-idp
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -165,7 +165,7 @@ services:
|
|||||||
|
|
||||||
# P5: AWS Cost Anomaly Detection
|
# P5: AWS Cost Anomaly Detection
|
||||||
cost:
|
cost:
|
||||||
image: 192.168.86.11:30095/dd0c-cost:latest
|
image: reg.dd0c.net/dd0c-cost:latest
|
||||||
build:
|
build:
|
||||||
context: ./05-aws-cost-anomaly
|
context: ./05-aws-cost-anomaly
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -185,7 +185,7 @@ services:
|
|||||||
|
|
||||||
# P6: Runbook Automation (SaaS)
|
# P6: Runbook Automation (SaaS)
|
||||||
run:
|
run:
|
||||||
image: 192.168.86.11:30095/dd0c-run:latest
|
image: reg.dd0c.net/dd0c-run:latest
|
||||||
build:
|
build:
|
||||||
context: ./06-runbook-automation/saas
|
context: ./06-runbook-automation/saas
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ set -euo pipefail
|
|||||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
cd "$SCRIPT_DIR"
|
cd "$SCRIPT_DIR"
|
||||||
|
|
||||||
REGISTRY="${REGISTRY:-192.168.86.11:30095}"
|
REGISTRY="${REGISTRY:-reg.dd0c.net}"
|
||||||
LOCK="/tmp/dd0c-watch.lock"
|
LOCK="/tmp/dd0c-watch.lock"
|
||||||
|
|
||||||
# Prevent concurrent runs
|
# Prevent concurrent runs
|
||||||
|
|||||||
Reference in New Issue
Block a user