ci: add packer validate step
Some checks failed
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
Robert Kaussow 2024-01-17 22:01:36 +01:00
parent 467ecbb210
commit 223d5ada43
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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/