From 53b49ca86a44de2b3540336dfc07d88356c0ff3d Mon Sep 17 00:00:00 2001 From: seanlongcc Date: Mon, 8 Jul 2024 16:58:39 -0400 Subject: [PATCH] update actions --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1da5ab..4055161 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,7 @@ jobs: CA_FILE_BASE64_AA: ${{ secrets.CA_FILE_BASE64_AA }} CA_FILE_BASE64_AB: ${{ secrets.CA_FILE_BASE64_AB }} CERTIFICATE_KEY_FILE_BASE64: ${{ secrets.CERTIFICATE_KEY_FILE_BASE64 }} + CERTIFICATE_KEY_FILE: ${{ secrets.CERTIFICATE_KEY_FILE }} steps: - name: Add Dependencies @@ -37,11 +38,8 @@ jobs: echo ${{ env.CA_FILE_BASE64_AA }} > CA_FILE echo ${{ env.CA_FILE_BASE64_AB }} >> CA_FILE base64 --decode CA_FILE > certificates/dod_CAs.pem - echo ${{ env.CERTIFICATE_KEY_FILE_BASE64 }} > CERTIFICATE_KEY_FILE - cat CERTIFICATE_KEY_FILE - base64 --decode CERTIFICATE_KEY_FILE > certificates/mongodb.pem + echo ${{ env.CERTIFICATE_KEY_FILE }} > certificates/mongodb.pem cat certificates/mongodb.pem - cat certificates/dod_CAs.pem - name: Run Packer Hardening run: |