From 223d5ada43db07ad4d29574588b794a1843165b5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 17 Jan 2024 22:01:36 +0100 Subject: [PATCH] ci: add packer validate step --- .woodpecker/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index b4bbbf2..e1cf96a 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -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/