Try setting cache policy
This commit is contained in:
+4
-3
@@ -63,15 +63,16 @@ shellcheck:
|
||||
downloads:
|
||||
stage: cache
|
||||
retry: 2
|
||||
artifacts:
|
||||
paths:
|
||||
- cache/*.iso
|
||||
cache:
|
||||
- key:
|
||||
files:
|
||||
- sources/build.pkr.hcl
|
||||
paths:
|
||||
- ./packer_config/
|
||||
- key: isofiles
|
||||
paths:
|
||||
- ./cache/*.iso
|
||||
policy: push-pull
|
||||
script:
|
||||
- packer init sources
|
||||
- bash cache.sh
|
||||
|
||||
Reference in New Issue
Block a user