Refactor image building to use committed source and a dedicated relea… #108
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 Config Server | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/build_config_server.yaml' | |
| - '.github/workflows/build-image.yaml' | |
| - 'config-server/**' | |
| - '!config-server/README.md' | |
| - 'build.ps1' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/build_config_server.yaml' | |
| - '.github/workflows/build-image.yaml' | |
| - 'config-server/**' | |
| - '!config-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: config-server | |
| description: Spring Cloud Config Server | |
| secrets: inherit |