first
continuous-integration/drone/push Build is failing Details

master
NY 1 month ago
parent 5cc938efc1
commit 4233c69417

@ -21,8 +21,11 @@ steps:
- name: clone - name: clone
image: alpine/git:latest image: alpine/git:latest
pull: never pull: never
volumes:
- name: build
path: /go
commands: commands:
- ls - pwd
- git clone http://47.112.165.44:3000/seekm/prdUploader.git - git clone http://47.112.165.44:3000/seekm/prdUploader.git
- name: build - name: build
@ -30,12 +33,10 @@ steps:
pull: never pull: never
environment: environment:
GO111MODULE: on GO111MODULE: on
CGO_ENABLED: 0 # 禁用 CGO纯静态二进制 CGO_ENABLED: 0
volumes: volumes:
- name: go-mod-cache - name: build
path: /go/pkg/mod path: /go
- name: go-build-cache
path: /root/.cache/go-build
commands: commands:
- echo "Building binary..." - echo "Building binary..."
- pwd - pwd

Loading…
Cancel
Save