Skip to content

Commit

Permalink
fix: Packer is initialized per file
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Aug 31, 2024
1 parent ba1ab0b commit d14cc5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/orka-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
uses: hashicorp/setup-packer@1aa358be5cf73883762b302a3a03abd66e75b232 #v3.1.0

- name: Initialize Packer
run: packer init .
run: |
for file in $(find . -name '*.pkr.hcl'); do
echo "Initializing $file"
packer init $file || exit 1
done
working-directory: orka/templates

- name: Validate Packer templates
Expand Down

0 comments on commit d14cc5f

Please sign in to comment.