gitlab-ci: image build should fail on failed commands

Ensure that no command in the script fails silently. If any command fails, the
image is likely broken.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-11-21 15:03:03 +02:00
parent e7fb62a349
commit 44c39d06b2

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -o xtrace
set -o xtrace -o errexit
echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list
apt-get update