ci: only update container versions on success

This commit is contained in:
Sumner Evans 2021-10-14 09:48:23 -06:00
parent 3048817a36
commit 511b342065
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -55,7 +55,7 @@ build docker amd64:
DOCKER_ARCH: amd64
after_script:
- |
if [[ "$CI_COMMIT_BRANCH" == "master" ]]; then
if [[ "$CI_COMMIT_BRANCH" == "master" && "$CI_JOB_STATUS" == "success" ]]; then
apk add --update curl jq
rm -rf /var/cache/apk/*