diff --git a/scripts/deploy-preview.sh b/scripts/deploy-preview.sh index 7aa0f00f9..c7cc530cd 100755 --- a/scripts/deploy-preview.sh +++ b/scripts/deploy-preview.sh @@ -1,13 +1,19 @@ #!/usr/bin/env bash +# exit on error set -e -# Run tests +# install QEMU for multi-arch builds +scripts/install-qemu.sh + +# run tests scripts/test.sh -# Build images +# build preview image make docker-preview +# wait 2s sleep 2 +# build demo image make docker-demo diff --git a/scripts/deploy-release.sh b/scripts/deploy-release.sh index f3e3309e3..a2d1c93b5 100755 --- a/scripts/deploy-release.sh +++ b/scripts/deploy-release.sh @@ -1,9 +1,13 @@ #!/usr/bin/env bash +# exit on error set -e -# Run tests +# install QEMU for multi-arch builds +scripts/install-qemu.sh + +# run tests scripts/test.sh -# Build images +# build release images make docker-release