Compare commits
4 commits
2880d7f6a3
...
cdf6844ce8
Author | SHA1 | Date | |
---|---|---|---|
Simon Vieille | cdf6844ce8 | ||
Simon Vieille | edc13f23fc | ||
Simon Vieille | bf6bbafd3b | ||
Simon Vieille | fc60a79bc3 |
|
@ -185,9 +185,9 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag {
|
|||
},
|
||||
&cli.StringSliceFlag{
|
||||
Name: "mount",
|
||||
EnvVars: []string{"PLUGIN_MOUNT"},
|
||||
Usage: "sets custom mount argument for the build",
|
||||
Destination: &settings.Build.Mount,
|
||||
EnvVars: []string{"PLUGIN_SECRET"},
|
||||
Usage: "sets custom secret argument for the build",
|
||||
Destination: &settings.Build.Secret,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "quiet",
|
||||
|
|
2
docs.md
2
docs.md
|
@ -118,7 +118,7 @@ docker-build:
|
|||
| `default_labels`/`auto_labels` | `true` | sets docker image labels based on git information |
|
||||
| `build_args` | _none_ | sets custom build arguments for the build |
|
||||
| `build_args_from_env` | _none_ | forwards environment variables as custom arguments to the build |
|
||||
| `mount` | _none_ | Sets the build mount to user |
|
||||
| `secret` | _none_ | Sets the build secret for the build |
|
||||
| `quiet` | `false` | enables suppression of the build output |
|
||||
| `target` | _none_ | sets the build target to use |
|
||||
| `cache_from` | _none_ | sets configuration for cache source |
|
||||
|
|
|
@ -69,7 +69,7 @@ type Build struct {
|
|||
Platforms cli.StringSlice // Docker build target platforms
|
||||
Args cli.StringSlice // Docker build args
|
||||
ArgsEnv cli.StringSlice // Docker build args from env
|
||||
Mount string // Docker build mount
|
||||
Secret string // Docker build secret
|
||||
Target string // Docker build target
|
||||
Output string // Docker build output
|
||||
Pull bool // Docker build pull
|
||||
|
|
Loading…
Reference in a new issue