Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogoda committed Sep 12, 2024
1 parent db58a1a commit 5c7270c
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,24 @@ Defaults to empty string.
cache-to: type=gha,mode=max
```
#### cache-to
Export docker layer to specific destination.
Currently only "gha" supported.
For supported options check: https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from.
If buildx not enabled, parameter ignored.
Defaults to empty string.
```yaml
buildx:
image: mergermarket/cdflow2-build-docker-ecr:latest
params:
buildx: true
platforms: linux/arm64,linux/386
cache-from: type=gha
cache-to: type=gha,mode=max
```
#### secrets
Allow passing secrets to the docker build.
Expand All @@ -117,24 +135,6 @@ limitation: It is only possible to pass src files, env is not available for cdfl
- "id=ssh,src=/root/.ssh/id_rsa.pub"
```

#### cache-to

Export docker layer to specific destination.
Currently only "gha" supported.
For supported options check: https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from.
If buildx not enabled, parameter ignored.
Defaults to empty string.

```yaml
buildx:
image: mergermarket/cdflow2-build-docker-ecr:latest
params:
buildx: true
platforms: linux/arm64,linux/386
cache-from: type=gha
cache-to: type=gha,mode=max
```

## Config container support

Config containers that supports this build plugin are:
Expand Down

0 comments on commit 5c7270c

Please sign in to comment.