3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-25 19:09:40 +01:00

Preserve quotes inside unquoted field

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-05-23 02:41:02 +02:00
parent 95f997534a
commit c9589d1941
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
3 changed files with 18 additions and 0 deletions

View file

@ -361,6 +361,22 @@ ccc`],
'--push',
'https://github.com/docker/build-push-action.git#heads/master'
]
],
[
'0.4.2',
new Map<string, string>([
['context', '.'],
['labels', 'org.opencontainers.image.title=filter_results_top_n\norg.opencontainers.image.description=Reference implementation of operation "filter results (top-n)"'],
['outputs', 'type=local,dest=./release-out']
]),
[
'buildx',
'build',
'--label', 'org.opencontainers.image.title=filter_results_top_n',
'--label', 'org.opencontainers.image.description=Reference implementation of operation "filter results (top-n)"',
'--output', 'type=local,dest=./release-out',
'.'
]
]
])(
'given %p with %p as inputs, returns %p',

1
dist/index.js generated vendored
View file

@ -13485,6 +13485,7 @@ function getInputList(name, ignoreComma) {
}
for (let output of (yield sync_1.default(items, {
columns: false,
relax: true,
relaxColumnCount: true,
skipLinesWithEmptyValues: true
}))) {

View file

@ -185,6 +185,7 @@ export async function getInputList(name: string, ignoreComma?: boolean): Promise
for (let output of (await csvparse(items, {
columns: false,
relax: true,
relaxColumnCount: true,
skipLinesWithEmptyValues: true
})) as Array<string[]>) {