Add go mod tidy in Drone build step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
parra 2023-03-06 15:43:30 +01:00
parent a628f978e6
commit 95f6543b6e

View file

@ -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