From b647ca1485c937b7913ed02045363683e0123413 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 28 Oct 2020 18:24:03 +0100 Subject: [PATCH] Fix tests --- __tests__/meta.test.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/__tests__/meta.test.ts b/__tests__/meta.test.ts index f9990a1..27bb9db 100644 --- a/__tests__/meta.test.ts +++ b/__tests__/meta.test.ts @@ -688,11 +688,13 @@ describe('latest', () => { } as Inputs, { version: 'v1.1.1', - latest: false + latest: true } as Version, [ 'org/app:v1.1.1', + 'org/app:latest', 'ghcr.io/user/app:v1.1.1', + 'ghcr.io/user/app:latest', ], [ "org.opencontainers.image.title=Hello-World", @@ -953,10 +955,11 @@ describe('release', () => { } as Inputs, { version: 'v1.1.1', - latest: false + latest: true } as Version, [ 'user/app:v1.1.1', + 'user/app:latest', ], [ "org.opencontainers.image.title=Hello-World",