Publish sha256sum of Github artifacts

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
This commit is contained in:
Amir Zarrinkafsh 2019-12-07 17:10:43 +11:00 committed by Clément Michaud
parent cc50a7eec5
commit 419512472b

View File

@ -102,11 +102,12 @@ jobs:
- docker cp authelia-binary:/usr/app/authelia ./authelia-linux-$ARCH - docker cp authelia-binary:/usr/app/authelia ./authelia-linux-$ARCH
- docker cp authelia-binary:/usr/app/public_html ./ - docker cp authelia-binary:/usr/app/public_html ./
- tar -czf authelia-linux-$ARCH.tar.gz authelia-linux-$ARCH public_html - tar -czf authelia-linux-$ARCH.tar.gz authelia-linux-$ARCH public_html
- sha256sum authelia-linux-$ARCH.tar.gz > authelia-linux-$ARCH.tar.gz.sha256
deploy: deploy:
provider: releases provider: releases
api_key: "$GITHUB_API_KEY" api_key: "$GITHUB_API_KEY"
file_glob: true file_glob: true
file: "authelia-linux-$ARCH.tar.gz" file: "authelia-linux-$ARCH.tar.gz*"
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true