Merge pull request #353 from mautrix/ci-update-container-versions-on-success

ci: only update container versions on success
This commit is contained in:
Sumner Evans 2021-10-14 12:31:53 -06:00 committed by GitHub
commit 923f9c4b21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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