From 3add036b729a61f38d17c6447f6383a8f5fc2709 Mon Sep 17 00:00:00 2001 From: seanlongcc Date: Mon, 8 Jul 2024 16:09:48 -0400 Subject: [PATCH] update actions --- .github/workflows/main.yml | 2 -- mongo-validate.pkr.hcl | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 897096b..511a0b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,8 +44,6 @@ jobs: run: | packer init mongo-hardening.pkr.hcl packer build mongo-hardening.pkr.hcl - docker ps -a - docker image ls - name: Log in to GitHub Container Registry uses: docker/login-action@v2 diff --git a/mongo-validate.pkr.hcl b/mongo-validate.pkr.hcl index c244955..6603304 100644 --- a/mongo-validate.pkr.hcl +++ b/mongo-validate.pkr.hcl @@ -64,8 +64,10 @@ build { inline = [ "docker ps -a", "docker logs mongo-hardened", + "docker ps -a", "sleep 5", "docker exec mongo-hardened sh -c 'ls'", + "docker ps -a", "inspec detect -t docker://mongo-hardened", "docker ps -a" ]