mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Update maven-build.yml
This commit is contained in:
parent
3f80cdb0b2
commit
a0a21cc913
1 changed files with 9 additions and 9 deletions
18
.github/workflows/maven-build.yml
vendored
18
.github/workflows/maven-build.yml
vendored
|
@ -24,13 +24,13 @@ jobs:
|
|||
run: |
|
||||
mvn -B package
|
||||
ls -al ${{ github.workspace }}/target
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: war-file
|
||||
path: target/*.war
|
||||
if-no-files-found: 'error'
|
||||
retention-days: 1 day
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: war-file
|
||||
path: target/*.war
|
||||
if-no-files-found: 'error'
|
||||
retention-days: 1 day
|
||||
|
||||
dockerize:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -40,5 +40,5 @@ jobs:
|
|||
with:
|
||||
name: war-file
|
||||
path: target/*.war
|
||||
- name: Dockerize the Application
|
||||
run: docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME}}:${{ github.run_number }} .
|
||||
- name: Dockerize the Application
|
||||
run: docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME}}:${{ github.run_number }} .
|
||||
|
|
Loading…
Reference in a new issue