ubnt-freifunk-map-api/.drone.yml
Stefan Hoffmann 83fe748567
All checks were successful
continuous-integration/drone/push Build is passing
CI Test v0.0.1
2021-01-01 21:41:09 +01:00

39 lines
709 B
YAML

kind: pipeline
name: build-ffmap-ubnt-api
steps:
- name: build go
image: golang
commands:
- go build .
- 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