39 lines
707 B
YAML
39 lines
707 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 |