File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 33
44# # You need to be logged in with your user, otherwise run `docker login`
55USER=k8sdemos
6+ # # Default to 24.8 unless VERS is given
67VERS=${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
915mvn clean package -DskipTests -P production -P control-center
1016docker build --tag $USER /bakery-cc:$VERS .
1117docker 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
You can’t perform that action at this time.
0 commit comments