Refactor image building to use committed source and a release workflow #100
Workflow file for this run
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: Build Eureka Server | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/build_eureka_server.yaml' | |
| - '.github/workflows/build-image.yaml' | |
| - 'eureka-server/**' | |
| - '!eureka-server/README.md' | |
| - 'build.ps1' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/build_eureka_server.yaml' | |
| - '.github/workflows/build-image.yaml' | |
| - 'eureka-server/**' | |
| - '!eureka-server/README.md' | |
| - 'build.ps1' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/build-image.yaml | |
| with: | |
| image: eureka-server | |
| description: Spring Cloud Netflix Eureka Server | |
| secrets: inherit |