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

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
1 changed files with 6 additions and 1 deletions

View File

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