whois42d/.drone.yml

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