mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
2fb20882d9
Publish steps are currently disabled.
21 lines
566 B
Bash
Executable File
21 lines
566 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set +u
|
|
|
|
if [[ $BUILDKITE_LABEL =~ ":selenium:" ]];
|
|
then
|
|
echo "--- :go::node: Extracting build artifacts"
|
|
buildkite-agent artifact download "dist.tar.gz" . && tar xf dist.tar.gz
|
|
buildkite-agent artifact download "web.tar.gz" . && tar xf web.tar.gz
|
|
fi
|
|
|
|
if [[ $BUILDKITE_LABEL =~ ":docker: Deploy Image" ]];
|
|
then
|
|
buildkite-agent artifact download "authelia-image-$ARCH*" .
|
|
zcat authelia-image-$ARCH.tar.gz | docker load
|
|
fi
|
|
|
|
if [[ $BUILDKITE_LABEL == ":github: Deploy Artifacts" ]];
|
|
then
|
|
buildkite-agent artifact download "authelia-linux-*" .
|
|
fi |