photoprism/scripts/deploy-preview.sh
Michael Mayer 0b46643def CI: Update deploy and test scripts
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-22 12:58:37 +02:00

19 lines
235 B
Bash
Executable file

#!/usr/bin/env bash
# exit on error
set -ex
# install QEMU for multi-arch builds
scripts/install-qemu.sh
# run tests
scripts/test.sh
# build preview image
make docker-preview
# wait 2s
sleep 2
# build demo image
make docker-demo