Skip to content

WM-2100: Correct commit and PR description of terra-helmfile auto update #2599

WM-2100: Correct commit and PR description of terra-helmfile auto update

WM-2100: Correct commit and PR description of terra-helmfile auto update #2599

Workflow file for this run

name: dsp-appsec-trivy
on: [pull_request]
jobs:
appsec-trivy:
# Parse Dockerfile and build, scan image if a "blessed" base image is not used
name: DSP AppSec Trivy check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project:
- cromiam
- cromwell-drs-localizer
- perf
- server
- womtool
steps:
- uses: actions/checkout@v2
# fetch SBT package
- uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
# set up SBT cache
- uses: actions/cache@v2
with:
path: |
~/.cache
~/.coursier/cache
~/.ivy2/cache
~/.sbt
key: sbt-${{ matrix.project }}-${{ hashFiles('**/*.sbt') }}
restore-keys: |
sbt-${{ matrix.project }}-
sbt-
# build the image
- name: Build
id: build
run: |
# build sources and store the log
sbt -no-colors ${{ matrix.project }}/docker | tee build.log
# export image name from the log
image=$(grep 'Tagging image' build.log | awk '{print $NF}')
echo "image=${image}" >> $GITHUB_OUTPUT
# scan the image
- uses: broadinstitute/dsp-appsec-trivy-action@v1
with:
image: ${{ steps.build.outputs.image }}