Runners more resilient to docker login failure (#12)
authorJarek Potiuk <jarek@potiuk.com>
Tue, 23 Mar 2021 11:35:15 +0000 (12:35 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Mar 2021 11:35:15 +0000 (11:35 +0000)
commit32378cf81d14add4b4b4c3e573ce513de18c2244
tree634cfd020487c58846b87199c8bf5e98846df7e2
parent27995a643adc0fc485e397ce9206ae33995ef0f9
Runners more resilient to docker login failure (#12)

Login to docker registry is now done in PreExec and in case it
fails, it also fails the whole service (leading to subsequent
service restart).

Also added `set -eu -o pipefail` to be better protected against
any silent failures.
cloud-init.yml