diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index de37c5f..d31f68e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,7 @@ jobs: REPORT_DIR: reports INSPEC_REPORT_FILENAME: inspec_results.json + ATTESTATION_FILE: ${{ vars.ATTESTATION_FILE}} ATTESTED_INSPEC_FILE_NAME: inspec_results.json CA_FILE_BASE64_AA: ${{ secrets.CA_FILE_BASE64_AA }} @@ -41,7 +42,7 @@ jobs: base64 --decode CA_FILE > certificates/dod_CAs.pem echo "${{ env.CERTIFICATE_KEY_FILE }}" > certificates/mongodb.pem echo "${{ env.INSPEC_INPUTS }}" > spec/mongo-inspec-profile/inputs.yml - echo "${{ vars.ATTESTATION_FILE }}" > reports/attestation.json + echo '${{ env.ATTESTATION_FILE }}' | jq . > reports/attestation.json ls reports cat reports/attestation.json