Skip to content

Refactor image building to use committed source and a release workflow #100

Refactor image building to use committed source and a release workflow

Refactor image building to use committed source and a release workflow #100

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