Explorar o código

添加构建脚本

reghao %!s(int64=2) %!d(string=hai) anos
pai
achega
f580c448bb
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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}