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 803af85Copy full SHA for 803af85
.github/workflows/fatimage.yml
@@ -54,6 +54,7 @@ jobs:
54
- name: Record settings for CI cloud
55
run: |
56
echo CI_CLOUD: ${{ env.CI_CLOUD }}
57
+ echo cleanup_on_failure: ${{ github.event.inputs.cleanup_on_failure == }}
58
59
- name: Setup ssh
60
@@ -91,7 +92,7 @@ jobs:
91
92
packer init .
93
94
PACKER_LOG=1 packer build \
- -on-error=${{ github.event.inputs.cleanup_on_failure && 'cleanup' || 'abort' }} \
95
+ -on-error=${{ github.event.inputs.cleanup_on_failure == 'true' && 'cleanup' || 'abort' }} \
96
-var-file="$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl" \
97
-var "source_image_name=${{ matrix.build.source_image_name }}" \
98
-var "image_name=${{ matrix.build.image_name }}" \
0 commit comments