Skip to content
Snippets Groups Projects
Commit ef3b34e0 authored by Michal Petrovič's avatar Michal Petrovič
Browse files

Update .gitlab-ci.yml

parent d634dfa6
Branches
1 merge request!9Update .gitlab-ci.yml
Pipeline #178554 passed with stages
in 7 minutes and 42 seconds
......@@ -11,6 +11,7 @@ stages:
- build
- verification
- publish
- cleanup
......@@ -110,3 +111,14 @@ docker-push-tag:
script:
- docker load -i build/image.tar
- docker push $DOCKER_NAMESPACE/$PROJECT_NAME:$CI_COMMIT_TAG
cleanup:
stage: cleanup
image: docker:git
tags:
- cache
script:
- docker system prune -a -f || true
- rm -rf build/ || true
when: always
allow_failure: true
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment