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:
parent
e7fb62a349
commit
44c39d06b2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user