mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
1059551133
* Optimise deploy artifacts step authelia-scripts is not required to publish GitHub artifacts as we utilise [Hub](https://hub.github.com/), this should save ~10 seconds in this step. * Specify release number in pipeline * Change buildkite and github published artifacts back to gzip * Update README.md
15 lines
440 B
Bash
Executable File
15 lines
440 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
artifacts=()
|
|
|
|
for FILES in \
|
|
authelia-linux-amd64.tar.gz authelia-linux-amd64.tar.gz.sha256 \
|
|
authelia-linux-arm32v7.tar.gz authelia-linux-arm32v7.tar.gz.sha256 \
|
|
authelia-linux-arm64v8.tar.gz authelia-linux-arm64v8.tar.gz.sha256;
|
|
do
|
|
artifacts+=(-a "${FILES}")
|
|
done
|
|
|
|
echo "--- :github: Deploy artifacts for release: ${BUILDKITE_TAG}"
|
|
hub release create "${artifacts[@]}" -m "${BUILDKITE_TAG}" "${BUILDKITE_TAG}" |