mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
adding docker stuff back in
This commit is contained in:
parent
040af4ba1d
commit
ee87f387eb
1 changed files with 18 additions and 0 deletions
18
.github/workflows/ci-pipeline.yml
vendored
18
.github/workflows/ci-pipeline.yml
vendored
|
@ -83,6 +83,24 @@ jobs:
|
|||
latest_jar=$(find target -name "*.jar" | sort | tail -n 1)
|
||||
echo "Scanning: $latest_jar"
|
||||
jf scan "$latest_jar"
|
||||
|
||||
#################################################
|
||||
# 9) Build Docker image with local Docker
|
||||
#################################################
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
docker build -t trialt0zppb.jfrog.io/petclinic-docker-dev-local/spring-petclinic:${{ github.run_id }} .
|
||||
|
||||
#################################################
|
||||
# 10) Push Docker image using JFrog CLI
|
||||
#################################################
|
||||
- name: Push Docker Image to Artifactory
|
||||
run: |
|
||||
jfrog rt docker-push \
|
||||
trialt0zppb.jfrog.io/petclinic-docker-dev-local/spring-petclinic:${{ github.run_id }} \
|
||||
petclinic-docker-dev-local \
|
||||
--build-name="spring-petclinic" \
|
||||
--build-number="${{ github.run_id }}"
|
||||
|
||||
#################################################
|
||||
# 9) Publish Build Information to JFrog
|
||||
|
|
Loading…
Reference in a new issue