mirror of
https://github.com/docker/build-push-action
synced 2024-11-26 20:11:40 +00: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
|
bbbb
|
||||||
ccc"
|
ccc"
|
||||||
|
"JSON_SECRET={""key1"":""value1"",""key2"":""value2""}"
|
||||||
```
|
```
|
||||||
|
|
||||||
| Key | Value |
|
| Key | Value |
|
||||||
|
@ -660,6 +661,7 @@ 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.
|
> Note: all quote signs need to be doubled for escaping.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue