ci: only update container versions on success
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ build amd64:
|
||||
- docker rmi $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA-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/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user