gitea-attachements-proxy/.drone.yml
garionion 31f42acabe
Some checks failed
continuous-integration/drone/push Build is failing
add docker and cicd
2021-09-20 11:20:57 +02:00

24 lines
500 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
privileged: true
settings:
repo: garionion/gitea-attachements-proxy
debug: true
password:
from_secret: docker_password
username:
from_secret: docker_username
tags:
- latest