From c04b9d69f191d644db15730dc27be8d8a4600e17 Mon Sep 17 00:00:00 2001 From: seanlongcc Date: Mon, 8 Jul 2024 17:41:35 -0400 Subject: [PATCH] update actions --- .github/workflows/main.yml | 3 ++- mongo-validate.pkr.hcl | 18 ------------------ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ad9cc3..1ed140a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,8 @@ jobs: - name: Clone Repository uses: actions/checkout@v4 - - name: Move Certificates + - name: Move Certificates and Input file + shell: bash run: | echo "${{ env.CA_FILE_BASE64_AA }}" > CA_FILE echo "${{ env.CA_FILE_BASE64_AB }}" >> CA_FILE diff --git a/mongo-validate.pkr.hcl b/mongo-validate.pkr.hcl index b9cb8fc..c4c656b 100644 --- a/mongo-validate.pkr.hcl +++ b/mongo-validate.pkr.hcl @@ -59,24 +59,6 @@ build { name = "validate" sources = ["source.docker.hardened"] - # docker ps - provisioner "shell-local" { - inline = [ - "docker ps -a", - "docker logs mongo-hardened", - "docker ps -a", - "sleep 10", - "docker ps -a", - "docker logs mongo-hardened", - "docker ps -a", - "docker exec mongo-hardened sh -c 'ls'", - "docker ps -a", - "inspec detect -t docker://mongo-hardened", - "docker ps -a" - - ] - } - ### SCAN provisioner "shell-local" { environment_vars = [