mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
docker testing
This commit is contained in:
parent
fde87d7492
commit
3416f02025
2 changed files with 6 additions and 5 deletions
|
@ -13,15 +13,16 @@
|
|||
uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Docker Hub
|
||||
- name: Login to Jfrog Artifactory
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
registry: rodi26.jfrog.io
|
||||
#username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.TF_TOKEN }}
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
- name: Build & publish the project
|
|
@ -1,5 +1,5 @@
|
|||
FROM eclipse-temurin:21-jdk-jammy
|
||||
|
||||
EXPOSE 8080
|
||||
WORKDIR /app
|
||||
|
||||
COPY .mvn/ .mvn
|
||||
|
|
Loading…
Reference in a new issue