authelia/.buildkite/steps/buildimages.sh

18 lines
589 B
Bash
Raw Normal View History

#!/bin/bash
set -eu
for BUILD_ARCH in amd64 arm32v7 arm64v8;
do
echo " - label: \":docker: Build Image [${BUILD_ARCH}]\""
echo " commands:"
echo " - \"authelia-scripts docker build --arch=${BUILD_ARCH}\""
echo " agents:"
echo " build: \"true\""
echo " artifact_paths:"
2020-01-07 06:12:37 +07:00
echo " - \"authelia-image-${BUILD_ARCH}.tar.zst\""
echo " - \"authelia-linux-${BUILD_ARCH}.tar.gz\""
echo " - \"authelia-linux-${BUILD_ARCH}.tar.gz.sha256\""
echo " env:"
echo " "ARCH: ${BUILD_ARCH}""
echo " key: \"build-docker-${BUILD_ARCH}\""
done