ci: cache packer plugins
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
parent
0c87766337
commit
8886c3d445
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ validate:
|
||||||
- packer init $PACKER_WORKSPACE
|
- packer init $PACKER_WORKSPACE
|
||||||
- packer fmt -check $PACKER_WORKSPACE
|
- packer fmt -check $PACKER_WORKSPACE
|
||||||
- packer validate $PACKER_WORKSPACE
|
- packer validate $PACKER_WORKSPACE
|
||||||
|
cache:
|
||||||
|
key: "packer-plugins" # Define a key for Packer plugins
|
||||||
|
paths:
|
||||||
|
- "~/.packer.d/plugins" # Or your specific plugin path
|
||||||
|
|
||||||
build-image:
|
build-image:
|
||||||
extends: .parallel
|
extends: .parallel
|
||||||
|
|
|
||||||
Reference in a new issue