mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
adding Docker build and setup JFrog steps
This commit is contained in:
parent
57763f299f
commit
ec2e19f537
1 changed files with 12 additions and 0 deletions
12
.github/workflows/maven-build.yml
vendored
12
.github/workflows/maven-build.yml
vendored
|
@ -29,3 +29,15 @@ jobs:
|
|||
run: ./mvnw -B package
|
||||
- name: Run the tests
|
||||
run: ./mvnw test
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Package the project as a runnable Docker image
|
||||
run: ./mvnw spring-boot:build-image
|
||||
- name: Set up JFrog CLI
|
||||
uses: jfrog/setup-jfrog-cli@v3
|
||||
- name: Scan the project with your preferred SCA tool
|
||||
run: jf --version
|
Loading…
Reference in a new issue