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