mirror of
https://github.com/docker/build-push-action
synced 2024-11-23 02:31:41 +00:00
Apply suggestions
Signed-off-by: Malcolm Davis Steele <me@malcolmdavis.xyz>
This commit is contained in:
parent
e53bafea73
commit
9ada3141a9
1 changed files with 3 additions and 1 deletions
|
@ -651,6 +651,7 @@ secrets: |
|
||||||
|
|
||||||
bbbb
|
bbbb
|
||||||
ccc"
|
ccc"
|
||||||
|
"JSON_SECRET={""key1"":""value1"",""key2"":""value2""}"
|
||||||
```
|
```
|
||||||
|
|
||||||
| Key | Value |
|
| Key | Value |
|
||||||
|
@ -660,8 +661,9 @@ secrets: |
|
||||||
| `MYSECRET` | `aaaaaaaa\nbbbbbbb\nccccccccc` |
|
| `MYSECRET` | `aaaaaaaa\nbbbbbbb\nccccccccc` |
|
||||||
| `FOO` | `bar` |
|
| `FOO` | `bar` |
|
||||||
| `EMPTYLINE` | `aaaa\n\nbbbb\nccc` |
|
| `EMPTYLINE` | `aaaa\n\nbbbb\nccc` |
|
||||||
|
| `JSON_SECRET` | `{"key1":"value1","key2":"value2"}` |
|
||||||
|
|
||||||
> Note: all quote signs need to be doubled for escaping. This is, for a secret `SECRET={"key":"value"}`, you'll need to provide `"SECRET={""key"":""value""}"`.
|
> Note: all quote signs need to be doubled for escaping.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue