chore(maven): bump org.apache.maven.plugins:maven-dependency-plugin #667
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Development Docker Images | |
on: | |
push: | |
paths-ignore: | |
- "Website/**" | |
- "*.md" | |
pull_request_target: | |
paths-ignore: | |
- "Website/**" | |
- "*.md" | |
workflow_dispatch: | |
jobs: | |
build-and-scan: | |
name: Build and Scan [drifty-${{ matrix.image_name_suffix }}, ${{ matrix.os }}] | |
runs-on: ubuntu-latest | |
if: github.repository == 'SaptarshiSarkar12/Drifty' | |
strategy: | |
matrix: | |
os: [ 'ubuntu-latest', 'macos-13', 'macos-latest', 'windows-latest' ] # macos-13 is AMD64 and macos-latest is ARM64 | |
image_name_suffix: [ 'cli', 'gui' ] | |
fail-fast: false | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Build Docker image | |
run: | | |
docker compose build base | |
docker compose build runner | |
docker compose build ${{ matrix.image_name_suffix }} | |
- name: Run Trivy security scan | |
uses: aquasecurity/[email protected] | |
continue-on-error: true | |
with: | |
image-ref: drifty-${{ matrix.image_name_suffix }} | |
format: 'sarif' | |
exit-code: 1 | |
vuln-type: os,library | |
ignore-unfixed: true | |
output: 'trivy-report.sarif' | |
hide-progress: false | |
scanners: vuln,secret,misconfig | |
- name: Upload Trivy security scan results | |
if: always() | |
uses: github/codeql-action/upload-sarif@main | |
with: | |
sarif_file: trivy-report.sarif |