# Dockerfile test build ## Sample CI ```yaml name: Docker Build CI on: [ push ] env: BUILDKIT_VERSION: 'v0.29.0' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - uses: actions/cache@v4 with: path: /var/lib/buildkit key: ${{ runner.os }}-buildkit-${{ env.BUILDKIT_VERSION }} - uses: https://git.klemek.fr/klemek/dockerfile-test-build@v1 with: buildkit_version: ${{ env.BUILDKIT_VERSION }} ``` ## Arguments | Name | Description | Default value | | --- | --- | --- | | `buildkit_version` | Name of Buildkit version from [GitHub](https://github.com/moby/buildkit/releases) | (required) | | `context` | Build context path | `.` | | `dockerfile` | Name of Dockerfile if different from `./Dockerfile` | `.` |