Skip to content

Commit

Permalink
ci: fix archive
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 29, 2024
1 parent 5b16750 commit dbca2ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/common-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,16 @@ jobs:
mkdir _tar/
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/
tar -xvf docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-arm64.tar.gz -C _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/
- name: Vuln scan in Docker (table)(AMD)
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2
with:
scan-type: image
scanners: vuln,secret
input: _tmp/_tar/docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-amd64
input: _tmp/_tar-amd64
format: table
hide-progress: true
env:
Expand All @@ -177,7 +177,7 @@ jobs:
with:
scan-type: image
scanners: vuln,secret
input: _tmp/_tar/docker-${{ inputs.image-name }}-${{ needs.setup.outputs.docker_tag_image }}-arm64
input: _tmp/_tar-arm64
format: table
hide-progress: true
env:
Expand Down

0 comments on commit dbca2ea

Please sign in to comment.