ci: add packer validate step
This commit is contained in:
parent
467ecbb210
commit
223d5ada43
@ -11,7 +11,12 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
||||||
|
|
||||||
- name: packer
|
- name: packer-fmt
|
||||||
image: docker.io/hashicorp/packer
|
image: docker.io/hashicorp/packer
|
||||||
commands:
|
commands:
|
||||||
- packer fmt -recursive -check -diff .
|
- 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