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 c1042a4 commit c04b9d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 0 additions & 18 deletions mongo-validate.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit c04b9d6

Please sign in to comment.