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 b95e21e commit 3add036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mongo-validate.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down

0 comments on commit 3add036

Please sign in to comment.