Add basic DroneCI for building go-away with Go 1.22 on Alpine 3.20 and Go 1.24 on Alpine 3.21
This commit is contained in:
34
.drone.yml
Normal file
34
.drone.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build-go1.22
|
||||
|
||||
steps:
|
||||
- name: build-go1.22-alpine3.20
|
||||
image: golang:1.22-alpine3.20
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- apk update
|
||||
- apk add --no-cache git
|
||||
- go build -v ./cmd/go-away
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build-go1.24
|
||||
|
||||
steps:
|
||||
- name: build-go1.24-alpine3.21
|
||||
image: golang:1.24-alpine3.21
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
commands:
|
||||
- apk update
|
||||
- apk add --no-cache git
|
||||
- go build -v ./cmd/go-away
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user