photoprism/scripts/deploy-preview.sh

20 lines
234 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-03-11 10:52:59 +01:00
# exit on error
set -e
2022-03-11 10:52:59 +01:00
# install QEMU for multi-arch builds
scripts/install-qemu.sh
# run tests
2021-11-23 20:42:01 +01:00
scripts/test.sh
2022-03-11 10:52:59 +01:00
# build preview image
make docker-preview
2022-03-11 10:52:59 +01:00
# wait 2s
sleep 2
2022-03-11 10:52:59 +01:00
# build demo image
2021-12-03 16:49:43 +01:00
make docker-demo