Skip to content

Commit 61ec9f7

Browse files
committed
upload combined trivyignore
1 parent e06fc1a commit 61ec9f7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build_multi_arch_image.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,18 @@ jobs:
6565
echo "vulnerabilities:" > "$combined"
6666
if [ -f "$common" ]; then sed -n '2,$p' "$common" >> "$combined"; fi
6767
if [ -f "$specific" ]; then sed -n '2,$p' "$specific" >> "$combined"; fi
68+
echo "Combined trivy ignore file created at $combined"
6869
6970
env:
7071
ARCHITECTURE: '${{ matrix.arch }}'
7172
DOCKER_TAG: '${{ inputs.docker_tag }}'
7273
CONTAINER_NAME: '${{ inputs.container_name }}'
7374
BASE_VERSION: ${{ inputs.docker_tag}}
75+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
76+
name: Upload combined trivy ignore file
77+
with:
78+
name: "trivyigonre-${{ inputs.container_name }}-${{ matrix.arch }}"
79+
path: src/${{ inputs.container_name}}/.trivyignore_combined.yaml
7480
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
7581
name: Upload docker images
7682
with:

0 commit comments

Comments
 (0)