ci: ensure API is only updated if image and measurements are uploaded (#2413)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-10-06 14:34:06 +02:00 committed by GitHub
parent ce2465c3c7
commit 8bb23c373b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -649,7 +649,7 @@ jobs:
--version=${{ needs.build-settings.outputs.imageVersion }} \
add-image-version-to-versionsapi:
needs: [upload-artifacts, build-settings]
needs: [upload-artifacts, upload-pcrs, build-settings]
name: "Add image version to versionsapi"
if: needs.build-settings.outputs.ref != '-'
permissions: