Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Use Java 17 in trivy github action
Browse files Browse the repository at this point in the history
  • Loading branch information
usmansaleem committed Oct 16, 2023
1 parent 11465b7 commit ec67606
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Build an image from Dockerfile
run: |
./gradlew --no-daemon --parallel build -x test distDocker
Expand Down

0 comments on commit ec67606

Please sign in to comment.