mirror of
https://github.com/docker/metadata-action.git
synced 2024-11-26 14:05:41 +01:00
Merge pull request #153 from crazy-max/preserve-quotes
Preserve quotes inside unquoted field
This commit is contained in:
commit
a2e02890a0
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -162,7 +162,7 @@ jobs:
|
|||||||
labels: |
|
labels: |
|
||||||
maintainer=CrazyMax
|
maintainer=CrazyMax
|
||||||
org.opencontainers.image.title=MyCustomTitle
|
org.opencontainers.image.title=MyCustomTitle
|
||||||
org.opencontainers.image.description=Another description
|
org.opencontainers.image.description=this is a "good" example
|
||||||
org.opencontainers.image.vendor=MyCompany
|
org.opencontainers.image.vendor=MyCompany
|
||||||
|
|
||||||
json:
|
json:
|
||||||
|
@ -1921,7 +1921,7 @@ describe('latest', () => {
|
|||||||
labels: [
|
labels: [
|
||||||
"maintainer=CrazyMax",
|
"maintainer=CrazyMax",
|
||||||
"org.opencontainers.image.title=MyCustomTitle",
|
"org.opencontainers.image.title=MyCustomTitle",
|
||||||
"org.opencontainers.image.description=Another description",
|
`org.opencontainers.image.description=this is a "good" example`,
|
||||||
"org.opencontainers.image.vendor=MyCompany",
|
"org.opencontainers.image.vendor=MyCompany",
|
||||||
]
|
]
|
||||||
} as Inputs,
|
} as Inputs,
|
||||||
@ -1945,7 +1945,7 @@ describe('latest', () => {
|
|||||||
"org.opencontainers.image.licenses=MIT",
|
"org.opencontainers.image.licenses=MIT",
|
||||||
"maintainer=CrazyMax",
|
"maintainer=CrazyMax",
|
||||||
"org.opencontainers.image.title=MyCustomTitle",
|
"org.opencontainers.image.title=MyCustomTitle",
|
||||||
"org.opencontainers.image.description=Another description",
|
`org.opencontainers.image.description=this is a "good" example`,
|
||||||
"org.opencontainers.image.vendor=MyCompany"
|
"org.opencontainers.image.vendor=MyCompany"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
@ -74,6 +74,7 @@ function getInputList(name, ignoreComma) {
|
|||||||
}
|
}
|
||||||
for (let output of sync_1.default(items, {
|
for (let output of sync_1.default(items, {
|
||||||
columns: false,
|
columns: false,
|
||||||
|
relax: true,
|
||||||
relaxColumnCount: true,
|
relaxColumnCount: true,
|
||||||
skipLinesWithEmptyValues: true
|
skipLinesWithEmptyValues: true
|
||||||
})) {
|
})) {
|
||||||
|
@ -48,6 +48,7 @@ export function getInputList(name: string, ignoreComma?: boolean): string[] {
|
|||||||
|
|
||||||
for (let output of csvparse(items, {
|
for (let output of csvparse(items, {
|
||||||
columns: false,
|
columns: false,
|
||||||
|
relax: true,
|
||||||
relaxColumnCount: true,
|
relaxColumnCount: true,
|
||||||
skipLinesWithEmptyValues: true
|
skipLinesWithEmptyValues: true
|
||||||
}) as Array<string[]>) {
|
}) as Array<string[]>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user