locationcode/.drone.yml
Ask Bjørn Hansen e6a44bc92e
All checks were successful
continuous-integration/drone/push Build is passing
Update Go 1.21.0 and dependencies
2023-09-05 23:59:58 -07:00

37 lines
662 B
YAML

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang:1.21.0
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: library/locationcode
registry: harbor.ntppool.org
auto_tag: true
tags: SHA7,${DRONE_SOURCE_BRANCH}
cache: true
username:
from_secret: harbor_library_username
password:
from_secret: harbor_library_password
---
kind: signature
hmac: 454d074a3b5f6d2400872f4d2c1b368b66f0243a398fa13423d3b904a865fedc
...