File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
.github/actions/build_aws_eif Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,22 @@ runs:
117117 docker cp amazonlinux:/sockd ${ARTIFACTS_OUTPUT_DIR}/
118118 docker cp amazonlinux:/vsockpx ${ARTIFACTS_OUTPUT_DIR}/
119119 docker cp amazonlinux:/${{ inputs.identity_scope }}operator.eif ${ARTIFACTS_OUTPUT_DIR}/uid2operator.eif
120+
121+ eifsize=$(wc -c < "${ARTIFACTS_OUTPUT_DIR}/uid2operator.eif")
122+ if [ $eifsize -le 1 ]; then
123+ echo "The eif was less then 1 byte. This indicates a build failure"
124+ exit 1
125+ fi
120126
121127 docker cp amazonlinux:/pcr0.txt ${{ steps.buildFolder.outputs.BUILD_FOLDER }}
122128 docker cp amazonlinux:/pcr0.txt ${ARTIFACTS_OUTPUT_DIR}/
123129 echo "enclave_id=$(cat ${{ steps.buildFolder.outputs.BUILD_FOLDER}}/pcr0.txt)" >> $GITHUB_OUTPUT
130+
131+ pcrsize=$(wc -c < "${{ steps.buildFolder.outputs.BUILD_FOLDER}}/pcr0.txt")
132+ if [ $pcrsize -le 1 ]; then
133+ echo "The pcr0.txt file was less then 1 byte. This indicates a build failure"
134+ exit 1
135+ fi
124136
125137 - name : Cleanup
126138 shell : bash
Original file line number Diff line number Diff line change 66
77 <groupId >com.uid2</groupId >
88 <artifactId >uid2-operator</artifactId >
9- <version >5.50.47 </version >
9+ <version >5.50.50-alpha-186-SNAPSHOT </version >
1010
1111 <properties >
1212 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
You can’t perform that action at this time.
0 commit comments