2
0
Fork 0
mirror of https://code.forgejo.org/docker/metadata-action.git synced 2025-09-16 09:46:56 +00:00

Do not sanitize before pattern matching

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-05-04 15:02:20 +02:00
parent b2391d37b4
commit e44c1fbe6e
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
7 changed files with 39 additions and 30 deletions

View file

@ -53,7 +53,7 @@ describe('transform', () => {
[
`name=name/bar`,
`name/foo,enable=false`,
`name=ghcr.io/name/foo,enable=true`
`name=ghcr.io/UserName/Foo,enable=true`
],
[
{
@ -65,7 +65,7 @@ describe('transform', () => {
enable: false,
},
{
name: `ghcr.io/name/foo`,
name: `ghcr.io/UserName/Foo`,
enable: true,
},
] as Image[],