2019-12-27 11:07:53 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
|
2020-03-09 01:32:07 +00:00
|
|
|
for BUILD_ARCH in amd64 arm32v7 arm64v8; do
|
|
|
|
cat << EOF
|
|
|
|
- label: ":docker: Build Image [${BUILD_ARCH}]"
|
|
|
|
command: "authelia-scripts docker build --arch=${BUILD_ARCH}"
|
|
|
|
agents:
|
|
|
|
build: "true"
|
|
|
|
artifact_paths:
|
|
|
|
- "authelia-image-${BUILD_ARCH}.tar.zst"
|
|
|
|
- "authelia-linux-${BUILD_ARCH}.tar.gz"
|
|
|
|
- "authelia-linux-${BUILD_ARCH}.tar.gz.sha256"
|
|
|
|
env:
|
|
|
|
ARCH: "${BUILD_ARCH}"
|
|
|
|
key: "build-docker-${BUILD_ARCH}"
|
|
|
|
EOF
|
2019-12-27 11:07:53 +00:00
|
|
|
done
|