Files
geoipapi/.drone.yml
Ask Bjørn Hansen 0b876543d5
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Update Go and dependencies
2025-03-23 23:02:33 -07:00

37 lines
636 B
YAML

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang:1.24
volumes:
- name: deps
path: /go
commands:
- go test -v
- go build
- 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: SHA7,${DRONE_SOURCE_BRANCH}
cache: true
username:
from_secret: harbor_username
password:
from_secret: harbor_password
---
kind: signature
hmac: 0c52196c25e55d77d014865c7a0298b24849133f9f59b14ca9fd235917f2649d
...