mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 00:25:50 +00:00
Update maven.yml
This commit is contained in:
parent
8942ebdf7f
commit
5512d53bcf
1 changed files with 15 additions and 15 deletions
30
.github/workflows/maven.yml
vendored
30
.github/workflows/maven.yml
vendored
|
@ -64,13 +64,13 @@ jobs:
|
|||
|
||||
#- name: Set App Name
|
||||
#run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"'
|
||||
- name: Pack Remote Build
|
||||
uses: dfreilich/pack-action@v1
|
||||
with:
|
||||
args: 'build ${{ env.IMAGE_NAME }} --path /home/runner/work/spring-petclinic/spring-petclinic --builder ${{ env.BUILDER }} --env "BP_JVM_VERSION=8.*" --publish'
|
||||
username: ${{ env.USERNAME }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: ${{ env.REGISTRY }}
|
||||
#- name: Pack Remote Build
|
||||
# uses: dfreilich/pack-action@v1
|
||||
# with:
|
||||
# args: 'build ${{ env.IMAGE_NAME }} --path /home/runner/work/spring-petclinic/spring-petclinic --builder ${{ env.BUILDER }} --env "BP_JVM_VERSION=8.*" --publish'
|
||||
# username: ${{ env.USERNAME }}
|
||||
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||
# registry: ${{ env.REGISTRY }}
|
||||
|
||||
|
||||
|
||||
|
@ -80,11 +80,11 @@ jobs:
|
|||
|
||||
|
||||
|
||||
#- name: Build image
|
||||
# uses: bigloupe/buildpacks-action@master
|
||||
# with:
|
||||
# image: 'spring-petclinic'
|
||||
# tag: '1.0.0'
|
||||
# path: 'target/spring-petclinic-2.4.5.jar'
|
||||
# builder: 'gcr.io/paketo-buildpacks/spring-boot'
|
||||
# env: 'BP_JVM_VERSION=8.*'
|
||||
- name: Build image
|
||||
uses: bigloupe/buildpacks-action@master
|
||||
with:
|
||||
image: 'spring-petclinic'
|
||||
tag: '1.0.0'
|
||||
path: 'target/spring-petclinic-2.4.5.jar'
|
||||
builder: 'gcr.io/paketo-buildpacks/builder:base'
|
||||
env: 'BP_JVM_VERSION=8.*'
|
||||
|
|
Loading…
Reference in a new issue