We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb012fb commit a4de5b4Copy full SHA for a4de5b4
mse-simple-demo/build.sh
@@ -13,3 +13,4 @@ cd "$(dirname "$0")"
13
./ZuulGateway/build.sh
14
./SpringCloudGateway/build.sh
15
./mysql/build.sh
16
+./nacos-server/build.sh
mse-simple-demo/nacos-server/build.sh
@@ -0,0 +1,17 @@
1
+#!/bin/sh
2
+export REGISTRY=${REGISTRY}
3
+
4
+export appName=nacos-server
5
+export VERSION="v2.1.2"
6
7
+set -e
8
9
+cd "$(dirname "$0")"
10
11
+docker pull nacos/nacos-server:${VERSION}
12
+docker tag nacos/nacos-server:${VERSION} ${REGISTRY}${appName}:${VERSION}
+if [ -n "${REGISTRY}" ]; then
+ docker push ${REGISTRY}${appName}:${VERSION}
+fi
17
0 commit comments