ci: add packer validate step
This commit is contained in:
parent
3d800271bc
commit
1731692758
@ -11,7 +11,12 @@ steps:
|
||||
commands:
|
||||
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
||||
|
||||
- name: packer
|
||||
- name: packer-fmt
|
||||
image: docker.io/hashicorp/packer
|
||||
commands:
|
||||
- packer fmt -recursive -check -diff .
|
||||
|
||||
- name: packer-validate
|
||||
image: docker.io/hashicorp/packer
|
||||
commands:
|
||||
- packer validate rocky-9/
|
||||
|
Loading…
Reference in New Issue
Block a user