Merge pull request #1166 from crazy-max/subdir-supported

docs: subdir for git context supported since Docker 23
This commit is contained in:
CrazyMax 2024-07-01 13:43:50 +02:00 committed by GitHub
commit 9552610e81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,8 +55,6 @@ name: ci
on:
push:
branches:
- 'main'
jobs:
docker:
@ -94,11 +92,6 @@ expression `{{defaultContext}}`. Here we can use it to provide a subdirectory
to the default Git context:
```yaml
-
# Setting up Docker Buildx with docker-container driver is required
# at the moment to be able to use a subdirectory with Git context
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
@ -131,8 +124,6 @@ name: ci
on:
push:
branches:
- 'main'
jobs:
docker:
@ -204,7 +195,7 @@ For more information about summaries, refer to the
### inputs
Following inputs can be used as `step.with` keys
The following inputs can be used as `step.with` keys:
> `List` type is a newline-delimited string
> ```yaml