drone-yaml-server/.drone.yml
garionion be284bdf11
Some checks failed
continuous-integration/drone/push Build is failing
maybe this will work
2021-08-15 15:52:09 +02:00

24 lines
473 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
- CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
- go test ./...
- name: publish
image: techknowlogick/drone-docker:latest
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
repo: ggarionion/drone-yaml-server
password:
from_secret: docker_password
username:
from_secret: docker_username
tags:
- latest