Try setting cache policy

This commit is contained in:
Greg Hellings
2024-04-21 16:32:15 +00:00
parent 3e360a000a
commit 160b065cac
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -11,6 +11,10 @@ stages:
- sources/build.pkr.hcl
paths:
- ./packer_config/
- key: isofiles
paths:
- ./cache/*.iso
policy: pull
rules:
- if: $CI_COMMIT_TAG
variables:
@@ -25,9 +29,6 @@ stages:
- pipeline: $PARENT_PIPELINE_ID
job: generate
artifacts: true
- pipeline: $PARENT_PIPELINE_ID
job: download
artifacts: true
tags:
- ${tag}
variables: &variables