diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e1148772..75214e0b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,6 +157,12 @@ amd64: name: "pleroma-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME" paths: - release/* + # Ideally it would be never for master branch and with the next commit for develop, + # but Gitlab does not support neither `only` for artifacts + # nor setting it to never from .gitlab-ci.yml + # nor expiring with the next commit + expire_in: 42 yrs + cache: &release-cache key: $CI_COMMIT_REF_NAME-$CI_JOB_NAME paths: