Add release uploads
continuous-integration/drone/push Build is passing Details

This commit is contained in:
IamTheFij 2021-01-08 17:21:02 -05:00
parent a1b906b94a
commit 31336280e6
1 changed files with 23 additions and 0 deletions

View File

@ -54,6 +54,29 @@ steps:
commands:
- 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
image: plugins/docker
settings: