Skip to content

Refactor image building to use committed source and a dedicated relea… #108

Refactor image building to use committed source and a dedicated relea…

Refactor image building to use committed source and a dedicated relea… #108

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