File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
examples/cloud-deployment Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ echo "========================================="
77echo " "
88
99# Color codes for output
10- RED=' \033[0. 31m'
10+ RED=' \033[0; 31m'
1111GREEN=' \033[0;32m'
1212YELLOW=' \033[1;33m'
1313NC=' \033[0m' # No Color
@@ -53,9 +53,7 @@ REG_PORT='5001'
5353# Create registry container if it doesn't exist
5454if [ " $( $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} "
6058else
6159 echo -e " ${GREEN} ✓ Registry container already running${NC} "
You can’t perform that action at this time.
0 commit comments