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

Update .gitlab-ci.yml file

parent 324767c7
2 merge requests!12Resolve "Zobrazení celej nájdenej sekvencie po rozkliknutí",!11Resolve "Implement cleanup after pipeline"
Pipeline #178558 passed with stage
in 47 seconds
......@@ -10,6 +10,7 @@ cache:
stages:
- build
- publish
- cleanup
# ===========================================================================
......@@ -91,3 +92,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