Fix tests

This commit is contained in:
CrazyMax 2020-10-28 18:24:03 +01:00
parent b246670a3c
commit b647ca1485
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -688,11 +688,13 @@ describe('latest', () => {
} as Inputs, } as Inputs,
{ {
version: 'v1.1.1', version: 'v1.1.1',
latest: false latest: true
} as Version, } as Version,
[ [
'org/app:v1.1.1', 'org/app:v1.1.1',
'org/app:latest',
'ghcr.io/user/app:v1.1.1', 'ghcr.io/user/app:v1.1.1',
'ghcr.io/user/app:latest',
], ],
[ [
"org.opencontainers.image.title=Hello-World", "org.opencontainers.image.title=Hello-World",
@ -953,10 +955,11 @@ describe('release', () => {
} as Inputs, } as Inputs,
{ {
version: 'v1.1.1', version: 'v1.1.1',
latest: false latest: true
} as Version, } as Version,
[ [
'user/app:v1.1.1', 'user/app:v1.1.1',
'user/app:latest',
], ],
[ [
"org.opencontainers.image.title=Hello-World", "org.opencontainers.image.title=Hello-World",