From dbca2ea21a47579e809e3aca9fa3baeb1aa34889 Mon Sep 17 00:00:00 2001 From: 0xawaz Date: Fri, 29 Nov 2024 17:47:22 +0100 Subject: [PATCH] ci: fix archive --- .github/workflows/common-docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/common-docker.yml b/.github/workflows/common-docker.yml index 0be1392..27bccc3 100644 --- a/.github/workflows/common-docker.yml +++ b/.github/workflows/common-docker.yml @@ -156,8 +156,8 @@ 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) @@ -165,7 +165,7 @@ jobs: 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: @@ -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: