Merge branch 'main' of gitlab.sectorq.eu:jaydee/portainer

This commit is contained in:
2025-12-02 21:10:57 +01:00

View File

@@ -38,4 +38,9 @@ clean-job: # This job runs in the build stage, which runs first.
script: script:
- rm -rf /home/gitlab-runner/builds/* - rm -rf /home/gitlab-runner/builds/*
rules: rules:
- if: '$CI_COMMIT_MESSAGE =~ /build/' - if: '$CI_COMMIT_MESSAGE =~ /build/'
cleanup_on_failure_job:
stage: clean # Should be in a later stage than the job that might fail
when: on_failure # <-- This is the key keyword
script:
- rm -rf /home/gitlab-runner/builds/*