diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 0d7c90f6a..476086284 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -1,6 +1,3 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - name: JFrog - Home Assignment on: @@ -28,7 +25,6 @@ jobs: java-version: ${{matrix.java}} distribution: 'corretto' cache: maven - - name: Setup JFrog CLI uses: jfrog/setup-jfrog-cli@v3 env: @@ -53,21 +49,13 @@ jobs: name: sca_report path: ${{ env.SCA_REPORT_FILE }} - - name: Publish Build info With JFrog CLI + - name: Bonus part Publish the image to JFrog Artifactory in your pipeline (using the SaaS trial) env: # Generated and maintained by GitHub JFROG_CLI_BUILD_NAME: spring-petclinic # JFrog organization secret JFROG_CLI_BUILD_NUMBER : ${{ github.run_number }} run: | - # Bonus part: Publish the image to JFrog Artifactory in your pipeline (using the SaaS trial) jf docker push ${{ env.IMAGE_NAME }} - # Export the build name and build nuber - # Collect environment variables for the build - jf rt build-collect-env - # Collect VCS details from git and add them to the build - jf rt build-add-git - # Publish build info - jf rt build-publish \ No newline at end of file