Skip to content

Commit 565242b

Browse files
committed
compile bakery with cc the last
1 parent a0cc72f commit 565242b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

deploy_docker.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33

44
## You need to be logged in with your user, otherwise run `docker login`
55
USER=k8sdemos
6+
## Default to 24.8 unless VERS is given
67
VERS=${VERS:-24.8}
78

8-
## Build the application for control-center in production mode
9+
## Build the application for control-center in production mode without CC
10+
mvn clean package -DskipTests -P production
11+
docker build --tag $USER/bakery:$VERS .
12+
docker push $USER/bakery:$VERS
13+
14+
## Build the application for control-center in production mode with CC
915
mvn clean package -DskipTests -P production -P control-center
1016
docker build --tag $USER/bakery-cc:$VERS .
1117
docker push $USER/bakery-cc:$VERS
1218

1319

14-
## Build the application for control-center in production mode
15-
mvn clean package -DskipTests -P production
16-
docker build --tag $USER/bakery:$VERS .
17-
docker push $USER/bakery:$VERS

0 commit comments

Comments
 (0)