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
8a42802162
commit
df813a9e64
1 changed files with 4 additions and 3 deletions
7
.github/workflows/maven.yml
vendored
7
.github/workflows/maven.yml
vendored
|
@ -41,6 +41,7 @@ jobs:
|
||||||
IMG_NAME: 'spring-petclinic'
|
IMG_NAME: 'spring-petclinic'
|
||||||
REGISTRY: 'ghcr.io'
|
REGISTRY: 'ghcr.io'
|
||||||
BUILDER: 'paketobuildpacks/builder:tiny'
|
BUILDER: 'paketobuildpacks/builder:tiny'
|
||||||
|
IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -61,12 +62,12 @@ jobs:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
- run: mvn -B install --no-transfer-progress --file pom.xml
|
- run: mvn -B install --no-transfer-progress --file pom.xml
|
||||||
|
|
||||||
- name: Set App Name
|
#- name: Set App Name
|
||||||
run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"'
|
#run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"'
|
||||||
- name: Pack Remote Build
|
- name: Pack Remote Build
|
||||||
uses: dfreilich/pack-action@v1
|
uses: dfreilich/pack-action@v1
|
||||||
with:
|
with:
|
||||||
args: 'build ${{ env.IMG_NAME }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish'
|
args: 'build ${{ env.IMAGE_NAME }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish'
|
||||||
username: ${{ env.USERNAME }}
|
username: ${{ env.USERNAME }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
|
|
Loading…
Reference in a new issue