Files
geoipapi/.drone.yml
Ask Bjørn Hansen e16ea1d5a9
All checks were successful
continuous-integration/drone/push Build is passing
Upgrade dependencies, prepare to use geoipupdate to update data
2022-04-07 22:59:29 -07:00

31 lines
536 B
YAML

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