Prechádzať zdrojové kódy

添加 'businessweb-user/push.sh'

chenghongxi 4 rokov pred
rodič
commit
c2ac87f482
1 zmenil súbory, kde vykonal 8 pridanie a 0 odobranie
  1. 8 0
      businessweb-user/push.sh

+ 8 - 0
businessweb-user/push.sh

@@ -0,0 +1,8 @@
+#!/bin/bash
+
+release=$1
+
+[ ! -n "$release" ] && exit 1
+
+docker build -t registry-vpc.cn-beijing.aliyuncs.com/xinyue/businessweb-user:${release} .
+docker push registry-vpc.cn-beijing.aliyuncs.com/xinyue/businessweb-user:${release}