Files
geoipapi/.drone.yml
Ask Bjørn Hansen 14edfaf0e9
All checks were successful
continuous-integration/drone/push Build is passing
Update base image and Go
2024-12-22 17:19:10 -08:00

37 lines
638 B
YAML

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang:1.23.4
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: d92e5a575088ed17ad15dbf7bf34f79f1d6b61c09d8b05fc7aab58f94c011e01
...