[CI] Update trivy installation.

This commit is contained in:
Corneil du Plessis
2024-04-02 18:24:30 +02:00
parent db7cc81de5
commit 0fa79d94b4
3 changed files with 22 additions and 4 deletions

View File

@@ -124,7 +124,9 @@ jobs:
for appdir in $SINKS; do
./build-app.sh . "./$appdir" true
done
- name: Scan Jar files
- name: 'Configure: Install Trivy'
uses: ./.github/actions/install-trivy
- name: 'Action: Trivy scan'
shell: bash
run: |
ROOT_DIR=$(realpath $PWD)

View File

@@ -385,7 +385,9 @@ jobs:
MAVEN_THREADS: ${{ inputs.mavenThreads }}
BUILD_VERSION_TYPE: ${{ needs.parameters.outputs.build_version_type }}
run: ./build-app.sh "stream-applications" "applications/processor/${{ matrix.app }}"
- name: 'Scan Jar files'
- name: 'Configure: Install Trivy'
uses: ./.github/actions/install-trivy
- name: 'Action: Trivy scan'
shell: bash
id: scan
run: |
@@ -532,7 +534,9 @@ jobs:
MAVEN_THREADS: ${{ inputs.mavenThreads }}
BUILD_VERSION_TYPE: ${{ needs.parameters.outputs.build_version_type }}
run: ./build-app.sh "stream-applications" "applications/sink/${{ matrix.app }}"
- name: 'Scan Jar files'
- name: 'Configure: Install Trivy'
uses: ./.github/actions/install-trivy
- name: 'Action: Trivy scan'
shell: bash
id: scan
run: |
@@ -680,7 +684,9 @@ jobs:
MAVEN_THREADS: ${{ inputs.mavenThreads }}
BUILD_VERSION_TYPE: ${{ needs.parameters.outputs.build_version_type }}
run: ./build-app.sh "stream-applications" "applications/source/${{ matrix.app }}"
- name: 'Scan Jar files'
- name: 'Configure: Install Trivy'
uses: ./.github/actions/install-trivy
- name: 'Action: Trivy scan'
shell: bash
id: scan
run: |