mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-19 20:21:12 +00:00
23 lines
510 B
YAML
23 lines
510 B
YAML
name: Build Image
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
java: [ '25' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build builder image
|
|
run: docker build -f Dockerfile.build -t petclinic-builder .
|
|
|
|
# - name: Build runtime image
|
|
# run: docker build -f Dockerfile.run -t ${{ secrets.DOCKER_REGISTRY_URL }}/${{ secrets.DOCKER_REPO_PATH }}:${{ github.sha }} .
|