Files
geoipapi/.drone.yml
Ask Bjørn Hansen 977e11141c
All checks were successful
continuous-integration/drone/push Build is passing
Update Go and dependencies
2023-06-06 18:02:26 -07:00

37 lines
638 B
YAML

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