This commit is contained in:
parent
547a2629f0
commit
c1ec5ef2af
18
.drone.yml
18
.drone.yml
@ -55,3 +55,21 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: test:pr
|
||||||
|
steps:
|
||||||
|
- name: basic build test
|
||||||
|
image: registry.odit.services/hub/library/golang:1.20-alpine3.16
|
||||||
|
commands:
|
||||||
|
- go mod download
|
||||||
|
- go build -ldflags="-w -s" -o build
|
||||||
|
environment:
|
||||||
|
CGO_ENABLED: "0"
|
||||||
|
GOOS: linux
|
||||||
|
GOARCH: amd64
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
Loading…
x
Reference in New Issue
Block a user