@@ -721,10 +721,11 @@ public void EndToEnd_SingleArch_NoRid()
721
721
processResultX64 . Should ( ) . Pass ( ) . And . HaveStdOut ( "Hello, World!" ) ;
722
722
}
723
723
724
- [ DockerIsAvailableAndSupportsArchFact ( "linux/arm64" , checkContainerdStoreAvailability : true ) ]
725
- public void EndToEndMultiArch_LocalRegistry ( )
724
+ [ InlineData ( "endtoendmultiarch-localregisty" ) ]
725
+ [ InlineData ( "myteam/endtoendmultiarch-localregisty" ) ]
726
+ [ DockerIsAvailableAndSupportsArchTheory ( "linux/arm64" , checkContainerdStoreAvailability : true ) ]
727
+ public void EndToEndMultiArch_LocalRegistry ( string imageName )
726
728
{
727
- string imageName = NewImageName ( ) ;
728
729
string tag = "1.0" ;
729
730
string image = $ "{ imageName } :{ tag } ";
730
731
@@ -759,7 +760,7 @@ public void EndToEndMultiArch_LocalRegistry()
759
760
"--platform" ,
760
761
"linux/amd64" ,
761
762
"--name" ,
762
- $ "test-container-{ imageName } -x64",
763
+ $ "test-container-{ imageName . Replace ( '/' , '-' ) } -x64",
763
764
image )
764
765
. Execute ( ) ;
765
766
processResultX64 . Should ( ) . Pass ( ) . And . HaveStdOut ( "Hello, World!" ) ;
@@ -770,7 +771,7 @@ public void EndToEndMultiArch_LocalRegistry()
770
771
"--platform" ,
771
772
"linux/arm64" ,
772
773
"--name" ,
773
- $ "test-container-{ imageName } -arm64",
774
+ $ "test-container-{ imageName . Replace ( '/' , '-' ) } -arm64",
774
775
image )
775
776
. Execute ( ) ;
776
777
processResultArm64 . Should ( ) . Pass ( ) . And . HaveStdOut ( "Hello, World!" ) ;
@@ -904,10 +905,11 @@ private DirectoryInfo CreateNewProject(string template, [CallerMemberName] strin
904
905
private string GetPublishArtifactsPath ( string projectDir , string rid , string configuration = "Debug" )
905
906
=> Path . Combine ( projectDir , "bin" , configuration , ToolsetInfo . CurrentTargetFramework , rid , "publish" ) ;
906
907
907
- [ DockerIsAvailableAndSupportsArchFact ( "linux/arm64" , checkContainerdStoreAvailability : true ) ]
908
- public void EndToEndMultiArch_ArchivePublishing ( )
908
+ [ InlineData ( "endtoendmultiarch-archivepublishing" ) ]
909
+ [ InlineData ( "myteam/endtoendmultiarch-archivepublishing" ) ]
910
+ [ DockerIsAvailableAndSupportsArchTheory ( "linux/arm64" , checkContainerdStoreAvailability : true ) ]
911
+ public void EndToEndMultiArch_ArchivePublishing ( string imageName )
909
912
{
910
- string imageName = NewImageName ( ) ;
911
913
string tag = "1.0" ;
912
914
string image = $ "{ imageName } :{ tag } ";
913
915
string archiveOutput = TestSettings . TestArtifactsDirectory ;
@@ -953,7 +955,7 @@ public void EndToEndMultiArch_ArchivePublishing()
953
955
"--platform" ,
954
956
"linux/amd64" ,
955
957
"--name" ,
956
- $ "test-container-{ imageName } -x64",
958
+ $ "test-container-{ imageName . Replace ( '/' , '-' ) } -x64",
957
959
image )
958
960
. Execute ( ) ;
959
961
processResultX64 . Should ( ) . Pass ( ) . And . HaveStdOut ( "Hello, World!" ) ;
@@ -964,7 +966,7 @@ public void EndToEndMultiArch_ArchivePublishing()
964
966
"--platform" ,
965
967
"linux/arm64" ,
966
968
"--name" ,
967
- $ "test-container-{ imageName } -arm64",
969
+ $ "test-container-{ imageName . Replace ( '/' , '-' ) } -arm64",
968
970
image )
969
971
. Execute ( ) ;
970
972
processResultArm64 . Should ( ) . Pass ( ) . And . HaveStdOut ( "Hello, World!" ) ;
0 commit comments