From 2f188e7bc07651f997bec66f18964d4b6d8ef9c1 Mon Sep 17 00:00:00 2001 From: Jamie O'Meara Date: Wed, 12 May 2021 17:18:17 -0600 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5faf9a986..7c1462c4a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -62,32 +62,32 @@ jobs: # java-version: 8 #- 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})"' - #- 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 ./spring-petclinic --builder ${{ env.BUILDER }} --env "BP_JVM_VERSION=8.*" --publish' + username: ${{ env.USERNAME }} + password: ${{ secrets.GITHUB_TOKEN }} + registry: ${{ env.REGISTRY }} - - name: Build image - id: build-image - uses: bigloupe/buildpacks-action@master - with: - image: 'ghrc.io/omearaj/spring-petclinic' - tag: 'latest-${{ github.sha }}' - path: '.' - builder: 'gcr.io/paketo-buildpacks/builder:base' - env: 'BP_JVM_VERSION=8.*' + # - name: Build image + # id: build-image + # uses: bigloupe/buildpacks-action@master + # with: + # image: 'ghrc.io/omearaj/spring-petclinic' + # tag: 'latest-${{ github.sha }}' + # path: '.' + # builder: 'gcr.io/paketo-buildpacks/builder:base' + # env: 'BP_JVM_VERSION=8.*' - - name: Push To GHRC.io - id: push-to-quay - uses: redhat-actions/push-to-registry@v2 - with: - image: ghrc.io/omearaj/spring-petclinic - tags: latest-${{ github.sha }} - registry: ghrc.io - username: ${{ github.actor }} - password: ${{ secrets.github.token }} + # - name: Push To GHRC.io + # id: push-to-quay + # uses: redhat-actions/push-to-registry@v2 + # with: + # image: ghrc.io/omearaj/spring-petclinic + # tags: latest-${{ github.sha }} + # registry: ghrc.io + # username: ${{ github.actor }} + # password: ${{ secrets.github.token }}