Add release uploads
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2021-01-08 17:21:02 -05:00
parent a1b906b94a
commit 31336280e6

View File

@ -54,6 +54,29 @@ steps:
commands: commands:
- make all-linux - make all-linux
- name: compress binaries for release
image: busybox
- find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \;
when:
event: tag
- name: upload gitea release
image: plugins/gitea-release
settings:
title: ${DRONE_TAG}
files: dist/*.tar.gz
checksum:
- md5
- sha1
- sha256
- sha512
base_url:
from_secret: gitea_base_url
api_key:
from_secret: gitea_token
when:
event: tag
- name: push image - arm - name: push image - arm
image: plugins/docker image: plugins/docker
settings: settings: