Unverified Commit 25e15ff2 authored by liuzheng's avatar liuzheng

fix: update

parent 65d99f8b
......@@ -3,7 +3,7 @@ before_install:
- echo "`date -u '+%Y-%m-%d %H:%M:%S'` Start to build Luna"
- docker pull node:latest
install:
- sed -i 's/{{BUILD_NUMBER}}/${BUILD_NUMBER}/g' src/environment/environment.prod.ts
- sed -i 's/{{BUILD_NUMBER}}/${BUILD_NUMBER}/g' src/environments/environment.prod.ts
- docker run -i -v `pwd`:/data -w /data node sh -c "npm i && npm rebuild node-sass&& npm run-script build"
script:
- docker build -t registry.fit2cloud.com/jumpserver/luna:test .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment