mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-23 02:25:39 +01:00
Merge pull request #246 from malkam03/h-doubled-quotes
Update documentation on escaping quotes
This commit is contained in:
commit
22b2fa68fc
@ -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 New Issue
Block a user