Skip to content

Remove duplicate gems when producting logstash artifacts #3169

Remove duplicate gems when producting logstash artifacts

Remove duplicate gems when producting logstash artifacts #3169

name: Scan for vulnerabilities
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
scan_image:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v5
- name: build tar distribution
run: ./gradlew clean assembleTarDistribution
- run: mkdir scan
- run: tar -zxf ../build/logstash-*.tar.gz
working-directory: ./scan
- name: scan image
uses: anchore/scan-action@568b89d27fc18c60e56937bff480c91c772cd993 # v7.1.0
with:
path: "./scan"
fail-build: true
severity-cutoff: critical
output-format: table