Skip to content

Commit 7255e86

Browse files
authored
Merge pull request #670 from mautrix/ci-update-container-versions-on-success
ci: only update container versions on success
2 parents 5dea597 + e4098a2 commit 7255e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build amd64:
1919
- docker rmi $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-amd64
2020
after_script:
2121
- |
22-
if [[ "$CI_COMMIT_BRANCH" == "master" ]]; then
22+
if [[ "$CI_COMMIT_BRANCH" == "master" && "$CI_JOB_STATUS" == "success" ]]; then
2323
apk add --update curl jq
2424
rm -rf /var/cache/apk/*
2525

0 commit comments

Comments
 (0)