Merge pull request #153 from crazy-max/preserve-quotes
ci / multi-images (push) Successful in 7s Details
ci / tag-schedule () (push) Successful in 7s Details
ci / tag-schedule (cron-{{date 'YYYYMMDD'}}) (push) Successful in 6s Details
ci / tag-schedule (schedule) (push) Successful in 7s Details
ci / tag-schedule ({{date 'YYYYMMDD-HHmmss'}}) (push) Successful in 6s Details
ci / tag-match (\d.\d, 0) (push) Successful in 6s Details
ci / tag-match (\d.\d.\d, 0) (push) Successful in 7s Details
ci / tag-match (v(.*), 1) (push) Successful in 6s Details
ci / tag-semver (auto) (push) Successful in 7s Details
ci / tag-semver (false) (push) Successful in 7s Details
ci / tag-semver (true) (push) Successful in 7s Details
ci / flavor (push) Successful in 7s Details
ci / labels (push) Successful in 7s Details
ci / json (push) Successful in 7s Details
ci / docker-push (push) Failing after 17s Details
ci / bake (push) Failing after 10s Details

Preserve quotes inside unquoted field
This commit is contained in:
CrazyMax 2021-11-29 14:23:16 +01:00 committed by GitHub
commit a2e02890a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -162,7 +162,7 @@ jobs:
labels: |
maintainer=CrazyMax
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
json:

View File

@ -1921,7 +1921,7 @@ describe('latest', () => {
labels: [
"maintainer=CrazyMax",
"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",
]
} as Inputs,
@ -1945,7 +1945,7 @@ describe('latest', () => {
"org.opencontainers.image.licenses=MIT",
"maintainer=CrazyMax",
"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"
]
],

1
dist/index.js generated vendored
View File

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

View File

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