Files
geoipapi/.drone.yml
Ask Bjørn Hansen 6cf02cfb01
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
build: update Go to 1.25
- Update Go version to 1.25 in go.mod
- Update Docker build image to golang:1.25-alpine
- Update CI pipeline to use golang:1.25
- Update dependencies to latest compatible versions
2025-10-04 01:21:15 -07:00

50 lines
873 B
YAML

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang:1.25
volumes:
- name: deps
path: /go
environment:
CGO_ENABLED: 1
commands:
- go mod download
- go test -v ./...
- go test -race ./...
- go test -short ./...
- go build
- go vet ./...
- go tool gofumpt -l .
- go mod verify
- name: docker
image: harbor.ntppool.org/ntppool/drone-kaniko:main
pull: always
volumes:
- name: deps
path: /go
settings:
repo: ntppool/geoipapi
registry: harbor.ntppool.org
auto_tag: true
tags: "${DRONE_BRANCH},build-${DRONE_BUILD_NUMBER},SHAABBREV,SHA7"
cache: true
username:
from_secret: harbor_username
password:
from_secret: harbor_password
volumes:
- name: deps
temp: {}
---
kind: signature
hmac: b1f03a1749f6225e46b015ffe751360940145bd78c55da7ddfcdb49b2da247a5
...