mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 00:45:50 +00:00
Update maven.yml
This commit is contained in:
parent
bf8fcfdf3e
commit
963bb85047
1 changed files with 19 additions and 19 deletions
38
.github/workflows/maven.yml
vendored
38
.github/workflows/maven.yml
vendored
|
@ -33,27 +33,27 @@ jobs:
|
||||||
java-version: ${{ matrix.java-version }}
|
java-version: ${{ matrix.java-version }}
|
||||||
- run: mvn -B install --no-transfer-progress --file pom.xml
|
- run: mvn -B install --no-transfer-progress --file pom.xml
|
||||||
|
|
||||||
build-image-and-publish:
|
# build-image-and-publish:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
needs: [build-and-test-matrix]
|
# needs: [build-and-test-matrix]
|
||||||
env:
|
# env:
|
||||||
USERNAME: 'omearaj'
|
# USERNAME: 'omearaj'
|
||||||
IMG_NAME: 'spring-petclinic'
|
# IMG_NAME: 'spring-petclinic'
|
||||||
REGISTRY: 'ghcr.io'
|
# REGISTRY: 'ghcr.io'
|
||||||
BUILDER: 'paketobuildpacks/builder:base'
|
# BUILDER: 'paketobuildpacks/builder:base'
|
||||||
IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic'
|
# IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic'
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Cache local Maven repository
|
# - name: Cache local Maven repository
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
with:
|
# with:
|
||||||
path: ~/.m2/repository
|
3 path: ~/.m2/repository
|
||||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-maven-
|
# ${{ runner.os }}-maven-
|
||||||
|
|
||||||
#- name: Setup Java and Build
|
#- name: Setup Java and Build
|
||||||
# uses: actions/setup-java@v2
|
# uses: actions/setup-java@v2
|
||||||
|
|
Loading…
Reference in a new issue