whois42d/.drone.yml
Simon Marsh 25a86eef4a
Some checks failed
continuous-integration/drone Build is failing
add docker and drone building
2023-09-25 11:14:12 +01:00

32 lines
496 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: binary build
image: golang
environment:
CGO_ENABLED: 0
commands:
- go vet
- go build
- name: docker
image: plugins/docker
settings:
registry: git.burble.dn42
repo: git.burble.dn42/burble.dn42/whois42d
tags: latest
username: burble
password:
from_secret: TOKEN
---
kind: secret
name: TOKEN
get:
path: burble.dn42/kv/data/drone/git.burble.dn42
name: artifact-token