Merge pull request #109 from eclipse-ecsp/chore/update-DEPENDENCIES #250
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Maven Build & Sonar Analysis | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| maven_build: | |
| uses: eclipse-ecsp/.github/.github/workflows/workflow-maven-run.yml@main | |
| name: Maven Build | |
| with: | |
| maven_args: 'clean package --file pom.xml' | |
| secrets: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| sonar_analysis: | |
| needs: maven_build | |
| uses: eclipse-ecsp/.github/.github/workflows/workflow-sonar-analysis.yml@main | |
| secrets: | |
| token: ${{ secrets.SONAR_TOKEN }} | |
| dependencies_update: | |
| needs: sonar_analysis | |
| uses: eclipse-ecsp/.github/.github/workflows/workflow-dependencies-update.yml@main | |
| secrets: inherit | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| docker_push_api_registry: | |
| needs: sonar_analysis | |
| if: false | |
| uses: eclipse-ecsp/.github/.github/workflows/workflow-docker-push.yml@main | |
| secrets: inherit | |
| with: | |
| context_path: ./api-registry | |
| maven_args: 'clean package --file pom.xml' | |
| docker_push_api-gateway: | |
| needs: sonar_analysis | |
| if: false | |
| uses: eclipse-ecsp/.github/.github/workflows/workflow-docker-push.yml@main | |
| secrets: inherit | |
| with: | |
| context_path: ./api-gateway | |
| maven_args: 'clean package --file pom.xml' |