Skip to content

Commit a9e9afd

Browse files
committed
fix signature verification on nightly image
1 parent 8bf014b commit a9e9afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightlybuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
env:
9595
PACKER_LOG: '1'
9696

97-
- name: Get created image names from manifest
97+
- name: Get image info and ensure it can be used for subsequent builds
9898
id: manifest
9999
run: |
100100
. venv/bin/activate
@@ -106,14 +106,14 @@ jobs:
106106
echo image: ${IMAGE_NAME} ${IMAGE_ID}
107107
echo "image-name=${IMAGE_NAME}" >> "$GITHUB_OUTPUT"
108108
echo "image-id=$IMAGE_ID" >> "$GITHUB_OUTPUT"
109+
openstack image unset --property signature_verified $IMAGE_ID
109110
110111
- name: Download image
111112
if: github.ref_name == 'main'
112113
run: |
113114
. venv/bin/activate
114115
sudo mkdir /mnt/images
115116
sudo chmod 777 /mnt/images
116-
openstack image unset --property signature_verified "${{ steps.manifest.outputs.image-id }}"
117117
openstack image save --file /mnt/images/${{ steps.manifest.outputs.image-name }}.qcow2 ${{ steps.manifest.outputs.image-id }}
118118
119119
- name: Set up QEMU

0 commit comments

Comments
 (0)