Skip to content

Commit

Permalink
ci: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 29, 2024
1 parent dbca2ea commit 8fe04d6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/common-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,20 @@ jobs:
- name: Check Container Image Tarball
run: |
cd _tmp/
mkdir _tar/
mkdir _tar_amd64 _tar_arm64
file docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-amd64.tar.gz
file docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-arm64.tar.gz
tar -xvf docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-amd64.tar.gz -C _tar-amd64/
tar -xvf docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-arm64.tar.gz -C _tar-arm64/
ls -la _tar/
tar -xvf docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-amd64.tar.gz -C _tar_amd64/
tar -xvf docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-arm64.tar.gz -C _tar_arm64/
ls -la _tar_amd64/
ls -la _tar_arm64/
- name: Vuln scan in Docker (table)(AMD)
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2
with:
scan-type: image
scanners: vuln,secret
input: _tmp/_tar-amd64
input: _tmp/_tar_amd64/
format: table
hide-progress: true
env:
Expand All @@ -177,7 +178,7 @@ jobs:
with:
scan-type: image
scanners: vuln,secret
input: _tmp/_tar-arm64
input: _tmp/_tar_arm64/
format: table
hide-progress: true
env:
Expand Down

0 comments on commit 8fe04d6

Please sign in to comment.