locationcode/.drone.yml
Ask Bjørn Hansen c8ea6c45c9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/tag Build is passing
Update Go and dependencies
2025-04-12 16:18:32 -07:00

37 lines
660 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: 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: d2fe2afd7d16e5530e00f268db9e381b980cddbc1bc11287c223fb1a9a6fa894
...