Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed Jul 8, 2024
1 parent 8d740d1 commit 53b49ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 53b49ca

Please sign in to comment.