Add go mod tidy in Drone build step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a628f978e6
commit
95f6543b6e
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ steps:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
|
- go mod tidy
|
||||||
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o bin/ cmd/drone-ntfy/main.go
|
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o bin/ cmd/drone-ntfy/main.go
|
||||||
|
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
|
|
Loading…
Reference in a new issue