Skip to content

Commit 07b4aed

Browse files
committed
change default to no push
1 parent 311f40e commit 07b4aed

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

deployment/build_and_push.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
DEV=0
4-
PUSH=1
4+
PUSH=0
55
RUN_CONTAINER=0
66
REBUILD_CONTAINER=0
77

@@ -19,8 +19,9 @@ for option in "$@"; do
1919
-d|--dev)
2020
DEV=1
2121
;;
22-
-n|--no-push)
23-
PUSH=0
22+
-p|--push)
23+
PUSH=1
24+
echo "Push the container to GCR."
2425
;;
2526
-r|--run)
2627
echo "Run the container after building it."
@@ -36,7 +37,7 @@ for option in "$@"; do
3637
echo "gcr.io/diamond-privreg/daq-config-server/<container-name> ready for deployment."
3738
echo " "
3839
echo " -d, --dev Creates -dev:latest tagged containers for testing on argus."
39-
echo " -n, --no-push Don't push containers to GCR."
40+
echo " -p, --push Push the container to GCR."
4041
echo " -r, --run Run the container after building it."
4142
echo " -b, --rebuild Rebuild the container even if it already exists."
4243
echo " --help, --info, -h Show this help message."

0 commit comments

Comments
 (0)