Skip to content

Update dotnet monorepo to v9 (major) #41

Update dotnet monorepo to v9 (major)

Update dotnet monorepo to v9 (major) #41

Workflow file for this run

name: Docker build
on:
pull_request:
paths:
- Dockerfile
- Dockerfile.PersonsApi
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image: [
"Dockerfile",
"Dockerfile.PersonsApi"
]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build docker image
uses: docker/build-push-action@v6
with:
build-args: CI=true
file: './${{ matrix.image }}'
secrets: github_token=${{ secrets.GITHUB_TOKEN }}
cache-from: type=gha
cache-to: type=gha
push: false