spring-petclinic/.github/workflows/build-image.yml
2025-11-26 17:16:40 +00:00

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 }} .