We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea588e2 commit f0653cdCopy full SHA for f0653cd
.gitlab-ci.yml
@@ -83,7 +83,7 @@ docker-test:
83
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
84
script:
85
- docker pull $IMAGE_TAG
86
- - docker run --rm $IMAGE_TAG pytest
+ - docker run --rm $IMAGE_TAG pytest || (docker rmi $IMAGE_TAG && exit 1)
87
only:
88
- tags
89
tags:
0 commit comments