mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-25 01:31:05 -05:00
Merge pull request #246 from malkam03/h-doubled-quotes
Update documentation on escaping quotes
This commit is contained in:
commit
22b2fa68fc
1 changed files with 2 additions and 0 deletions
|
@ -651,6 +651,7 @@ secrets: |
|
|||
|
||||
bbbb
|
||||
ccc"
|
||||
"JSON_SECRET={""key1"":""value1"",""key2"":""value2""}"
|
||||
```
|
||||
|
||||
| Key | Value |
|
||||
|
@ -660,6 +661,7 @@ secrets: |
|
|||
| `MYSECRET` | `aaaaaaaa\nbbbbbbb\nccccccccc` |
|
||||
| `FOO` | `bar` |
|
||||
| `EMPTYLINE` | `aaaa\n\nbbbb\nccc` |
|
||||
| `JSON_SECRET` | `{"key1":"value1","key2":"value2"}` |
|
||||
|
||||
> Note: all quote signs need to be doubled for escaping.
|
||||
|
||||
|
|
Loading…
Reference in a new issue