From 33fd18aa9218822a5603896dd841c679af3c1c64 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 11:21:48 -0600 Subject: [PATCH 01/23] Update maven.yml --- .github/workflows/maven.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 73cbc0158..be30e5aa8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,7 +6,7 @@ name: build-and-test on: [push, pull_request] jobs: - build: + build-and-test: runs-on: ubuntu-latest strategy: @@ -29,3 +29,19 @@ jobs: distribution: 'adopt' java-version: ${{ matrix.java-version }} - run: mvn -B install --no-transfer-progress --file pom.xml + + build-image-and-publish: + runs-on: ubuntu-latest + needs: [build-and-test] + + steps: + - uses: actions/checkout@v2 + + - name: Build image + uses: bigloupe/buildpacks-action@master + with: + image: 'spring-petclinic' + tag: '1.0.0' + path: 'target/spring-petclinic-' + builder: 'gcr.io/paketo-buildpacks/builder:tiny' + env: 'HELLO=WORLD FOO=BAR BAZ' From 8ee6b61a17076b6681f0f12ed106320ec91b3859 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 11:26:39 -0600 Subject: [PATCH 02/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index be30e5aa8..e7bdff0be 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -42,6 +42,6 @@ jobs: with: image: 'spring-petclinic' tag: '1.0.0' - path: 'target/spring-petclinic-' + path: 'target/spring-petclinic-2.4.5.jar' builder: 'gcr.io/paketo-buildpacks/builder:tiny' env: 'HELLO=WORLD FOO=BAR BAZ' From aba969375abedd91ea95cc29206658d1ceaf1bcc Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 11:28:12 -0600 Subject: [PATCH 03/23] Update maven.yml --- .github/workflows/maven.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e7bdff0be..74f4bc611 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,7 +3,10 @@ name: build-and-test -on: [push, pull_request] +on: + push: + branches: main + pull_request: jobs: build-and-test: From 90077b225947bc2cb3f33edeea41dd521bbedfe6 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 12:32:18 -0600 Subject: [PATCH 04/23] Update maven.yml --- .github/workflows/maven.yml | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 74f4bc611..945ba4e64 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,7 +9,7 @@ on: pull_request: jobs: - build-and-test: + build-and-test-matrix: runs-on: ubuntu-latest strategy: @@ -32,14 +32,37 @@ jobs: distribution: 'adopt' java-version: ${{ matrix.java-version }} - run: mvn -B install --no-transfer-progress --file pom.xml + + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: spring-petclinic + path: ${{ github.workspace }}/target/spring-petclinic* + build-image-and-publish: runs-on: ubuntu-latest - needs: [build-and-test] + needs: [build-and-test-matrix] steps: + - uses: actions/checkout@v2 - + + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + + - name: Setup Java and Build + uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: 8 + - run: mvn -B install --no-transfer-progress --file pom.xml + - name: Build image uses: bigloupe/buildpacks-action@master with: @@ -47,4 +70,4 @@ jobs: tag: '1.0.0' path: 'target/spring-petclinic-2.4.5.jar' builder: 'gcr.io/paketo-buildpacks/builder:tiny' - env: 'HELLO=WORLD FOO=BAR BAZ' + env: 'BP_JVM_VERSION=8.*' From e1bbe231824d645b24f561401a1b636a3d281aba Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 12:43:28 -0600 Subject: [PATCH 05/23] Update maven.yml --- .github/workflows/maven.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 945ba4e64..122b871ee 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,14 +32,7 @@ jobs: distribution: 'adopt' java-version: ${{ matrix.java-version }} - run: mvn -B install --no-transfer-progress --file pom.xml - - - name: Upload Artifact - uses: actions/upload-artifact@v2 - with: - name: spring-petclinic - path: ${{ github.workspace }}/target/spring-petclinic* - - + build-image-and-publish: runs-on: ubuntu-latest needs: [build-and-test-matrix] From 130da13f05a6cc2d19a9f0a03feb7caaead3d886 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 12:54:16 -0600 Subject: [PATCH 06/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 122b871ee..31f5687df 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -62,5 +62,5 @@ jobs: image: 'spring-petclinic' tag: '1.0.0' path: 'target/spring-petclinic-2.4.5.jar' - builder: 'gcr.io/paketo-buildpacks/builder:tiny' + builder: 'gcr.io/paketo-buildpacks/spring-boot:tiny' env: 'BP_JVM_VERSION=8.*' From 14ffad1300d07659c2ec789f0845a9024a8e0875 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 12:57:45 -0600 Subject: [PATCH 07/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 31f5687df..f3f64e8da 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -62,5 +62,5 @@ jobs: image: 'spring-petclinic' tag: '1.0.0' path: 'target/spring-petclinic-2.4.5.jar' - builder: 'gcr.io/paketo-buildpacks/spring-boot:tiny' + builder: 'gcr.io/paketo-buildpacks/spring-boot' env: 'BP_JVM_VERSION=8.*' From 8a42802162b048c76147936ed1a9561439eacde2 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 13:42:00 -0600 Subject: [PATCH 08/23] Update maven.yml --- .github/workflows/maven.yml | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f3f64e8da..2950c2954 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -36,6 +36,11 @@ jobs: build-image-and-publish: runs-on: ubuntu-latest needs: [build-and-test-matrix] + env: + USERNAME: 'omearaj' + IMG_NAME: 'spring-petclinic' + REGISTRY: 'ghcr.io' + BUILDER: 'paketobuildpacks/builder:tiny' steps: @@ -56,11 +61,29 @@ jobs: java-version: 8 - run: mvn -B install --no-transfer-progress --file pom.xml - - name: Build image - uses: bigloupe/buildpacks-action@master + - 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: - 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.*' + args: 'build ${{ env.IMG_NAME }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' + username: ${{ env.USERNAME }} + password: ${{ secrets.GITHUB_TOKEN }} + registry: ${{ env.REGISTRY }} + + + + + + + + + + #- 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.*' From df813a9e6480335ea95cb20cf1a583912c60eebb Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 13:51:57 -0600 Subject: [PATCH 09/23] Update maven.yml --- .github/workflows/maven.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2950c2954..80b24ecd6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -41,6 +41,7 @@ jobs: IMG_NAME: 'spring-petclinic' REGISTRY: 'ghcr.io' BUILDER: 'paketobuildpacks/builder:tiny' + IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic' steps: @@ -61,12 +62,12 @@ jobs: java-version: 8 - run: mvn -B install --no-transfer-progress --file pom.xml - - name: Set App Name - run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"' + #- 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.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 }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From cdc4ccafc4f84e1730487f0efc46e8b2d843057c Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 13:55:25 -0600 Subject: [PATCH 10/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 80b24ecd6..89ed7fa33 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,7 +40,7 @@ jobs: USERNAME: 'omearaj' IMG_NAME: 'spring-petclinic' REGISTRY: 'ghcr.io' - BUILDER: 'paketobuildpacks/builder:tiny' + BUILDER: 'paketobuildpacks/builder:base' IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic' steps: From 91fdbeeaf65e2029d81640611cf67381f78cd34d Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 13:58:13 -0600 Subject: [PATCH 11/23] Update maven.yml --- .github/workflows/maven.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 89ed7fa33..c1070cc3a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -55,12 +55,12 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - - name: Setup Java and Build - uses: actions/setup-java@v2 - with: - distribution: 'adopt' - java-version: 8 - - run: mvn -B install --no-transfer-progress --file pom.xml + #- name: Setup Java and Build + # uses: actions/setup-java@v2 + # with: + # distribution: 'adopt' + # java-version: 8 + #- run: mvn -B install --no-transfer-progress --file pom.xml #- name: Set App Name #run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"' From 1a777991c67dc5f69b08a28cfab88c8778d9b228 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:03:43 -0600 Subject: [PATCH 12/23] Update maven.yml --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c1070cc3a..434fd47fa 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -67,11 +67,11 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' + args: 'build ${{ env.IMAGE_NAME }} --builder ${{ env.BUILDER }} --publish' username: ${{ env.USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} - + #--env BP_JVM_VERSION=8.* From df49049e9f9e387905061817b712e2b355a7a9f0 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:13:51 -0600 Subject: [PATCH 13/23] Update maven.yml --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 434fd47fa..307742480 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -67,11 +67,11 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --builder ${{ env.BUILDER }} --publish' + args: 'build ${{ env.IMAGE_NAME }} --path ${{ GITHUB_WORKSPACE }}/spring-petclinic --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' username: ${{ env.USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} - #--env BP_JVM_VERSION=8.* + From e79be7b7f2835bd9456a55885aa8d3c4a77238bd Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:17:49 -0600 Subject: [PATCH 14/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 307742480..2458bb726 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -67,7 +67,7 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --path ${{ GITHUB_WORKSPACE }}/spring-petclinic --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' + args: 'build ${{ env.IMAGE_NAME }} --path ${{ env.github_workspace }}/spring-petclinic --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' username: ${{ env.USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From fa449a4a0a60c8c78dbaca3fe3058c646d46bdda Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:20:27 -0600 Subject: [PATCH 15/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2458bb726..a8e9c0dcc 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -67,7 +67,7 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --path ${{ env.github_workspace }}/spring-petclinic --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' + args: 'build ${{ env.IMAGE_NAME }} --path ${{ env.github_workspace }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' username: ${{ env.USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From f9652bc5b5dcf4c53f52df33700d080e528e2e7e Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:32:17 -0600 Subject: [PATCH 16/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a8e9c0dcc..77c3a907f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -67,7 +67,7 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --path ${{ env.github_workspace }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' + args: 'build ${{ env.IMAGE_NAME }} --path ${{ github.workspace }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' username: ${{ env.USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From 0b85c435e85cca44410b483534b5b15b641e989d Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:37:32 -0600 Subject: [PATCH 17/23] Update maven.yml --- .github/workflows/maven.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 77c3a907f..a7236853b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -44,16 +44,16 @@ jobs: IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic' steps: + - name: Checkout + uses: actions/checkout@v2 - - uses: actions/checkout@v2 - - - name: Cache local Maven repository - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + #- name: Cache local Maven repository + # uses: actions/cache@v2 + # with: + # path: ~/.m2/repository + # key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + # restore-keys: | + # ${{ runner.os }}-maven- #- name: Setup Java and Build # uses: actions/setup-java@v2 From 4f02b76bd47388ceb8f44937af0e0d64b9e793b6 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:41:35 -0600 Subject: [PATCH 18/23] Update maven.yml --- .github/workflows/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a7236853b..573018aa6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -64,6 +64,8 @@ jobs: #- name: Set App Name #run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"' + - name: list + run: ls -la - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: From 7d044fae3199ae9fbb7f63f6682c08dd27da2ae4 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:43:42 -0600 Subject: [PATCH 19/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 573018aa6..4a301ed2a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -69,7 +69,7 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --path ${{ github.workspace }} --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 }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From f6712f48b3d532a540e000ad2faa822da000a5ab Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:48:07 -0600 Subject: [PATCH 20/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4a301ed2a..55fcf3f05 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,7 +40,7 @@ jobs: USERNAME: 'omearaj' IMG_NAME: 'spring-petclinic' REGISTRY: 'ghcr.io' - BUILDER: 'paketobuildpacks/builder:base' + BUILDER: 'paketobuildpacks/builder:full' IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic' steps: From 1509e55ffaee4868dddde08521d717ffd99c1731 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:53:56 -0600 Subject: [PATCH 21/23] Update maven.yml --- .github/workflows/maven.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 55fcf3f05..94367e643 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,7 +40,7 @@ jobs: USERNAME: 'omearaj' IMG_NAME: 'spring-petclinic' REGISTRY: 'ghcr.io' - BUILDER: 'paketobuildpacks/builder:full' + BUILDER: 'paketobuildpacks/builder:base' IMAGE_NAME: 'ghrc.io/omearaj/spring-petclinic' steps: @@ -64,12 +64,10 @@ jobs: #- name: Set App Name #run: 'echo "::set-env name=IMG_NAME::$(echo ${REGISTRY})/$(echo ${USERNAME})/$(echo ${IMG_NAME})"' - - name: list - run: ls -la - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' + args: 'build ${{ env.IMAGE_NAME }} --path . --builder ${{ env.BUILDER }} --env BP_JVM_VERSION=8.* --publish' username: ${{ env.USERNAME }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From bea80a197532e80c88e8713507038733d16fbd13 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 14:58:17 -0600 Subject: [PATCH 22/23] Update maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 94367e643..f9516965f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -67,7 +67,7 @@ jobs: - name: Pack Remote Build uses: dfreilich/pack-action@v1 with: - args: 'build ${{ env.IMAGE_NAME }} --path . --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 }} password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} From 76b4aa9ec8a2b508c32248df4320d9c86846038c Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 15:57:32 -0600 Subject: [PATCH 23/23] Update maven.yml --- .github/workflows/maven.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f9516965f..b9b4057ba 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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 }} --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 }} --builder ${{ env.BUILDER }} --env "BP_JVM_VERSION=8.*" --publish' + # username: ${{ env.USERNAME }} + # password: ${{ secrets.GITHUB_TOKEN }} + # registry: ${{ env.REGISTRY }}