mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
107126929b
* Update README.md Provide badges and references to the AUR for Arch Linux Authelia packages. Closes #571 #572. * Add systemd unit file Include the unit in future release artifacts. * Remove CHANGELOG.md As of future releases Changelog details will dynamically be generated. * Update README.md Add badge for authelia-git package. * Update Changelog to only publish explicit Docker tag Do not include Major and Minor versions, as these will change over time.
19 lines
784 B
Bash
Executable File
19 lines
784 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set +u
|
|
|
|
DOCKER_IMAGE=authelia/authelia
|
|
|
|
if [[ $BUILDKITE_LABEL =~ ":docker: Build Image" ]];
|
|
then
|
|
echo "--- :docker: Saving artifacts for :buildkite: :docker: :github: releases"
|
|
# Save binary for buildkite and github artifacts
|
|
docker create --name authelia-binary $DOCKER_IMAGE:latest
|
|
docker cp authelia-binary:/usr/app/authelia ./authelia-linux-"${ARCH}"
|
|
docker cp authelia-binary:/usr/app/public_html ./
|
|
docker rm -f authelia-binary
|
|
tar -czf authelia-linux-"${ARCH}".tar.gz authelia-linux-"${ARCH}" authelia.service config.template.yml public_html
|
|
sha256sum authelia-linux-"${ARCH}".tar.gz > authelia-linux-"${ARCH}".tar.gz.sha256
|
|
# Saving image for push to docker hub
|
|
docker save $DOCKER_IMAGE | zstdmt -T0 -12 > authelia-image-"${ARCH}".tar.zst
|
|
fi |