From 8da7f99bd52b86ce9df31348025323aef055c909 Mon Sep 17 00:00:00 2001 From: holomekc <30546982+holomekc@users.noreply.github.com> Date: Mon, 1 Apr 2024 06:13:29 +0200 Subject: [PATCH] docker-image-scan.yml aktualisieren --- .github/workflows/docker-image-scan.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-image-scan.yml b/.github/workflows/docker-image-scan.yml index 910cee3c74..3a8c61ea71 100644 --- a/.github/workflows/docker-image-scan.yml +++ b/.github/workflows/docker-image-scan.yml @@ -60,7 +60,7 @@ jobs: - name: Run Trivy json result uses: aquasecurity/trivy-action@0.19.0 with: - image-ref: 'docker.io/holomekc/wiremock-gui:${{ needs.scan.outputs.version }}' + image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}' format: 'json' exit-code: '0' output: trivy-result.json @@ -72,7 +72,7 @@ jobs: - name: Run Trivy sarif result uses: aquasecurity/trivy-action@0.19.0 with: - image-ref: 'docker.io/holomekc/wiremock-gui:${{ needs.scan.outputs.version }}' + image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}' format: 'sarif' exit-code: '0' output: trivy-result.sarif @@ -85,7 +85,7 @@ jobs: - name: Run Trivy sbom result uses: aquasecurity/trivy-action@0.19.0 with: - image-ref: 'docker.io/holomekc/wiremock-gui:${{ needs.scan.outputs.version }}' + image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}' format: 'github' exit-code: '0' output: dependency-results.sbom.json @@ -98,7 +98,7 @@ jobs: - name: Run Trivy json result uses: aquasecurity/trivy-action@0.19.0 with: - image-ref: 'docker.io/holomekc/wiremock-gui:${{ needs.scan.outputs.version }}-alpine' + image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}-alpine' format: 'json' exit-code: '0' output: trivy-result-alpine.json @@ -110,7 +110,7 @@ jobs: - name: Run Trivy sarif result uses: aquasecurity/trivy-action@0.19.0 with: - image-ref: 'docker.io/holomekc/wiremock-gui:${{ needs.scan.outputs.version }}-alpine' + image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}-alpine' format: 'sarif' exit-code: '0' output: trivy-result-alpine.sarif @@ -123,7 +123,7 @@ jobs: - name: Run Trivy sbom result uses: aquasecurity/trivy-action@0.19.0 with: - image-ref: 'docker.io/holomekc/wiremock-gui:${{ needs.scan.outputs.version }}-alpine' + image-ref: 'docker.io/holomekc/wiremock-gui:${{ steps.extract-version.outputs.version }}-alpine' format: 'github' exit-code: '0' output: dependency-results-alpine.sbom.json