piframe-go/.drone.yml

54 lines
1 KiB
YAML
Raw Permalink Normal View History

2020-08-26 14:15:50 +00:00
---
kind: pipeline
type: docker
name: default
trigger:
event:
- tag
platform:
os: linux
arch: arm64
volumes:
- name: cache
temp: {}
environment:
DEBIAN_FRONTEND: noninteractive
steps:
- name: build
image: golang:1.15
pull: always
volumes:
- name: cache
path: /drone/src/out
commands:
- cd /drone/src
- go build -o out/wifi cmd/wifi/wifi.go
2020-08-27 14:10:25 +00:00
- go build -o out/inotify cmd/inotify/inotify.go
2020-09-03 05:19:41 +00:00
- go build -o out/gui cmd/gui/gui.go
2020-09-04 18:57:12 +00:00
- go build -o out/fan cmd/fan/fan.go
2020-09-06 08:11:19 +00:00
- go build -o out/hdmi cmd/hdmi/hdmi.go
2020-08-26 14:15:50 +00:00
- cp CHANGELOG.md out/
- name: gitea-release
image: plugins/gitea-release
volumes:
- name: cache
path: /opt/artifacts
settings:
api_key:
from_secret: gitea_token
base_url: https://git.kemonine.info
title: ${DRONE_TAG}
note: Please see the CHANGELOG.md file for details
files:
- /opt/artifacts/*
checksum:
- md5
- sha1
- sha256
- sha512