ubnt-freifunk-map-api/.drone.yml

39 lines
709 B
YAML
Raw Normal View History

2021-01-01 14:14:03 +00:00
kind: pipeline
name: build-ffmap-ubnt-api
steps:
- name: build go
image: golang
commands:
2021-01-01 20:41:09 +00:00
- go build .
2021-01-01 14:14:03 +00:00
- name: docker
image: plugins/docker
settings:
repo: fftdf/ffmap-ubnt-api
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event: tag
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.freifunk-rhein-sieg.net
files:
- ubnt-freifunk-map-api
title: ${DRONE_TAG}
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
when:
event: tag