Explorar el Código

添加 'ipip/push.sh'

chenghongxi hace 4 años
padre
commit
f01f797ce3
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      ipip/push.sh

+ 8 - 0
ipip/push.sh

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