2021-11-23 19:23:10 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-03-11 10:52:59 +01:00
|
|
|
# exit on error
|
2021-11-23 19:23:10 +01:00
|
|
|
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
|
2021-11-23 19:23:10 +01:00
|
|
|
|
2022-03-11 10:52:59 +01:00
|
|
|
# build preview image
|
2021-11-23 19:23:10 +01:00
|
|
|
make docker-preview
|
2021-12-10 09:09:21 +01:00
|
|
|
|
2022-03-11 10:52:59 +01:00
|
|
|
# wait 2s
|
2021-11-23 19:23:10 +01:00
|
|
|
sleep 2
|
2021-12-10 09:09:21 +01:00
|
|
|
|
2022-03-11 10:52:59 +01:00
|
|
|
# build demo image
|
2021-12-03 16:49:43 +01:00
|
|
|
make docker-demo
|