@ -22,6 +22,7 @@ steps:
image: alpine/git:latest
pull: never
commands:
- ls
- git clone http://47.112.165.44:3000/seekm/prdUploader.git
- name: build
@ -37,6 +38,7 @@ steps:
path: /root/.cache/go-build
- echo "Building binary..."
- pwd
- go build -o myapp -ldflags "-X main.RunMode=test -s -w" # 压缩符号表
- ls -lh myapp