2019-12-27 18:07:53 +07:00
|
|
|
#!/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}\""
|
2020-02-06 15:18:56 +07:00
|
|
|
echo " agents:"
|
|
|
|
echo " build: \"true\""
|
2019-12-27 18:07:53 +07:00
|
|
|
echo " artifact_paths:"
|
2020-01-07 06:12:37 +07:00
|
|
|
echo " - \"authelia-image-${BUILD_ARCH}.tar.zst\""
|
2020-01-20 06:53:55 +07:00
|
|
|
echo " - \"authelia-linux-${BUILD_ARCH}.tar.gz\""
|
|
|
|
echo " - \"authelia-linux-${BUILD_ARCH}.tar.gz.sha256\""
|
2019-12-27 18:07:53 +07:00
|
|
|
echo " env:"
|
|
|
|
echo " "ARCH: ${BUILD_ARCH}""
|
2020-01-18 02:46:51 +07:00
|
|
|
echo " key: \"build-docker-${BUILD_ARCH}\""
|
2019-12-27 18:07:53 +07:00
|
|
|
done
|