initial commit

This commit is contained in:
2026-04-30 14:11:51 +02:00
commit 25e25863ff
2 changed files with 75 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# 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` | `.` |