gitea-attachements-proxy/.drone.yml

23 lines
478 B
YAML
Raw Normal View History

2021-09-20 11:13:54 +02:00
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
- CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .
- 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