From 18b5967a70b712969598d321f92bae2b5bb34e7e Mon Sep 17 00:00:00 2001 From: seanlongcc Date: Mon, 8 Jul 2024 17:49:35 -0400 Subject: [PATCH] update actions --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1b575c..66719cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,12 +31,11 @@ jobs: - name: Move Certificates and Input file shell: bash run: | - set +x - echo "${{ env.CA_FILE_BASE64_AA }}" > CA_FILE - echo "${{ env.CA_FILE_BASE64_AB }}" >> CA_FILE + printf "%s" "${{ env.CA_FILE_BASE64_AA }}" > CA_FILE + printf "%s" "${{ env.CA_FILE_BASE64_AB }}" >> CA_FILE 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 + printf "%s" "${{ env.CERTIFICATE_KEY_FILE }}" > certificates/mongodb.pem + printf "%s" "${{ env.INSPEC_INPUTS }}" > spec/mongo-inspec-profile/inputs.yml - name: Run Packer Hardening run: |