This commit is contained in:
parent
f306ccbb22
commit
fde4c5e69e
@ -46,8 +46,6 @@ steps:
|
|||||||
GOPROXY: "https://goproxy.cn,direct" # 懂的都懂
|
GOPROXY: "https://goproxy.cn,direct" # 懂的都懂
|
||||||
commands:
|
commands:
|
||||||
- CGO_ENABLED=0 go build -o adapt -ldflags="-w -s"
|
- CGO_ENABLED=0 go build -o adapt -ldflags="-w -s"
|
||||||
- docker build -t git.daymele.com/liupeng/drone .
|
|
||||||
- docker push git.daymele.com/liupeng/drone
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user