dn42regsrv/.drone.yml
Simon Marsh 88fb036f1c
All checks were successful
continuous-integration/drone/push Build is passing
build directly to docker image
2023-09-24 13:51:03 +01:00

32 lines
498 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/dn42regsrv
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