We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c0b9ea commit 15a680bCopy full SHA for 15a680b
.github/workflows/fatimage.yml
@@ -91,7 +91,7 @@ jobs:
91
packer init .
92
93
PACKER_LOG=1 packer build \
94
- -on-error=${{ github.event.inputs.cleanup_on_failure && 'cleanup' || 'abort' }} \
+ -on-error=${{ github.event.inputs.cleanup_on_failure == 'true' && 'cleanup' || 'abort' }} \
95
-var-file="$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl" \
96
-var "source_image_name=${{ matrix.build.source_image_name }}" \
97
-var "image_name=${{ matrix.build.image_name }}" \
0 commit comments