From 58d2e85e92a7bb4f3fdea0be88edf410b075035e Mon Sep 17 00:00:00 2001 From: Otavio Jacobi Date: Fri, 12 Jul 2024 15:21:46 -0300 Subject: [PATCH] Does not accept v1 manifest for builds ] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Change-type: major --- test/multibuild/build.spec.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/test/multibuild/build.spec.ts b/test/multibuild/build.spec.ts index 5db24b5..583d320 100644 --- a/test/multibuild/build.spec.ts +++ b/test/multibuild/build.spec.ts @@ -322,8 +322,8 @@ describe('Resolved project building', () => { resolve(runBuildTask(newTask, docker, secretMap, buildVars)); }) .then((image) => { - expect(image).to.have.property('successful').that.equals(true); - return checkExists(image.name!); + expect(image).to.have.property('successful').that.equals(false); + expect(image).to.have.property('error').that.is.not.null; }) .then((inspect: any) => { expect(inspect).to.have.property('Architecture').that.equals('amd64'); @@ -351,12 +351,10 @@ describe('Resolved project building', () => { resolve(runBuildTask(newTask, docker, secretMap, buildVars)); }) .then((image) => { - expect(image).to.have.property('successful').that.equals(true); - return checkExists(image.name!); + expect(image).to.have.property('successful').that.equals(false); + expect(image).to.have.property('error').that.is.not.null; }) - .then((inspect: any) => { - expect(inspect).to.have.property('Architecture').that.equals('amd64'); - }); + }); it('should build using "platform" flag (v2 manifest) on third party registry', async () => {