chore: add github-release plugin (#540)

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-04-15 16:02:06 -07:00 committed by GitHub
parent f9a0f2c785
commit 4c85cb3058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View File

@ -93,6 +93,38 @@ steps:
depends_on:
- basic-integration
- name: release
image: autonomy/build-container:latest
pull: always
commands:
- make clean
- make release
volumes:
- name: dockersock
path: /var/run
when:
event: tag
depends_on:
- basic-integration
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_token
title: release.txt
draft: true
note: CHANGELOG.md
files:
- build/*
checksum:
- sha256
- sha512
when:
event: tag
depends_on:
- release
volumes:
- name: dockersock
temp: {}

2
.gitignore vendored
View File

@ -20,3 +20,5 @@ coverage.txt
# buildkit cache
.buildkit/
release.txt

View File

@ -151,6 +151,7 @@ talos: buildkitd
release: all talos-raw talos-gce talos
xz -e9 ./build/rootfs.raw
@ echo @(TAG) > release.txt
test: buildkitd
@mkdir -p build