Skip to content

Commit e13cfec

Browse files
committed
Small fixes
Signed-off-by: Emmanuel Hugonnet <[email protected]>
1 parent 4e795fc commit e13cfec

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

examples/cloud-deployment/k8s/01-postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
spec:
4040
containers:
4141
- name: postgres
42-
image: postgres:16
42+
image: mirror.gcr.io/postgres:16
4343
ports:
4444
- containerPort: 5432
4545
name: postgres

examples/cloud-deployment/scripts/deploy.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "========================================="
77
echo ""
88

99
# Color codes for output
10-
RED='\033[0.31m'
10+
RED='\033[0;31m'
1111
GREEN='\033[0;32m'
1212
YELLOW='\033[1;33m'
1313
NC='\033[0m' # No Color
@@ -53,9 +53,7 @@ REG_PORT='5001'
5353
# Create registry container if it doesn't exist
5454
if [ "$($CONTAINER_TOOL inspect -f '{{.State.Running}}' "${REG_NAME}" 2>/dev/null || true)" != 'true' ]; then
5555
echo "Creating registry container..."
56-
$CONTAINER_TOOL run \
57-
-d --restart=always -p "127.0.0.1:${REG_PORT}:5000" --network bridge --name "${REG_NAME}" \
58-
registry:2
56+
$CONTAINER_TOOL run -d --restart=always -p "127.0.0.1:${REG_PORT}:5000" --network bridge --name "${REG_NAME}" mirror.gcr.io/registry:2
5957
echo -e "${GREEN}✓ Registry container created${NC}"
6058
else
6159
echo -e "${GREEN}✓ Registry container already running${NC}"

0 commit comments

Comments
 (0)