bumper/hooks/build
Brian Martin 038bafb368 builds
Remove armv5
Remove old Dockerfile.arch
Generate manifest in post_push
2019-12-31 16:05:46 -05:00

10 lines
No EOL
302 B
Bash

#!/bin/bash
# Custom build script to build images for all supported architectures.
# Example for IMAGE_NAME: ckulka/baikal:apache
for arch in amd64 arm32v7 arm64v8
do
echo "Building $IMAGE_NAME-$arch"
docker build --build-arg FROM_ARCH=$arch --file $DOCKERFILE_PATH --tag $IMAGE_NAME-$arch .
done