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:
WeebDataHoarder
2025-04-06 02:17:45 +02:00
parent e166714a3f
commit 8a8390f005

34
.drone.yml Normal file
View 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
...