Added basic PR Tests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolai Ort 2023-02-25 17:35:56 +01:00
parent 547a2629f0
commit c1ec5ef2af
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -54,4 +54,22 @@ steps:
registry: registry.odit.services
trigger:
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