@@ -662,6 +662,50 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`]
662662 '.'
663663 ]
664664 ] ,
665+ [
666+ 27 ,
667+ '0.11.0' ,
668+ new Map < string , string > ( [
669+ [ 'context' , '.' ] ,
670+ [ 'annotations' , 'example1=www\nindex:example2=xxx\nmanifest:example3=yyy\nmanifest-descriptor[linux/amd64]:example4=zzz' ] ,
671+ [ 'outputs' , 'type=local,dest=./release-out' ] ,
672+ [ 'load' , 'false' ] ,
673+ [ 'no-cache' , 'false' ] ,
674+ [ 'push' , 'false' ] ,
675+ [ 'pull' , 'false' ] ,
676+ ] ) ,
677+ [
678+ 'build' ,
679+ '--output' , 'type=local,dest=./release-out' ,
680+ "--provenance" , `mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789` ,
681+ '--metadata-file' , path . join ( tmpDir , 'metadata-file' ) ,
682+ '.'
683+ ]
684+ ] ,
685+ [
686+ 28 ,
687+ '0.12.0' ,
688+ new Map < string , string > ( [
689+ [ 'context' , '.' ] ,
690+ [ 'annotations' , 'example1=www\nindex:example2=xxx\nmanifest:example3=yyy\nmanifest-descriptor[linux/amd64]:example4=zzz' ] ,
691+ [ 'outputs' , 'type=local,dest=./release-out' ] ,
692+ [ 'load' , 'false' ] ,
693+ [ 'no-cache' , 'false' ] ,
694+ [ 'push' , 'false' ] ,
695+ [ 'pull' , 'false' ] ,
696+ ] ) ,
697+ [
698+ 'build' ,
699+ '--annotation' , 'example1=www' ,
700+ '--annotation' , 'index:example2=xxx' ,
701+ '--annotation' , 'manifest:example3=yyy' ,
702+ '--annotation' , 'manifest-descriptor[linux/amd64]:example4=zzz' ,
703+ '--output' , 'type=local,dest=./release-out' ,
704+ "--provenance" , `mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789` ,
705+ '--metadata-file' , path . join ( tmpDir , 'metadata-file' ) ,
706+ '.'
707+ ]
708+ ]
665709 ] ) (
666710 '[%d] given %p with %p as inputs, returns %p' ,
667711 async ( num : number , buildxVersion : string , inputs : Map < string , string > , expected : Array < string > ) => {
0 commit comments