Ver Fonte

添加构建脚本

reghao há 2 anos atrás
pai
commit
f580c448bb
1 ficheiros alterados com 7 adições e 0 exclusões
  1. 7 0
      build.sh

+ 7 - 0
build.sh

@@ -0,0 +1,7 @@
+#!/bin/bash
+
+
+commit_id=`git rev-parse --short HEAD`
+#npm run build
+docker build -t docker.reghao.cn/tnb/bili:${commit_id} .
+docker push docker.reghao.cn/tnb/bili:${commit_id}