Add suffix to kaniko cache to allow for using blank cache
What does this MR do and why?
Describe in detail what your merge request does and why.
Content
Add suffix to kaniko cache to allow for using a new blank cache. Simply change the KANIKO_CACHE_SUFFIX
variable to force Kaniko to use a fresh/blank cache.
- Ran pipeline 1 without KANIKO_CACHE_SUFFIX: https://gitlab.com/gitlab-org/release-tools/-/jobs/5362064213
- Pipeline with KANIKO_CACHE_SUFFIX uses new cache: https://gitlab.com/gitlab-org/release-tools/-/jobs/5362117720
- Pipeline with same KANIKO_CACHE_SUFFIX uses same cache as previous run: https://gitlab.com/gitlab-org/release-tools/-/jobs/5362117720
Author Check-list
-
Has documentation been updated?
Edited by Reuben Pereira