Skip to content

Commit 5db0ca3

Browse files
Merge pull request #997 from aws/fixuploader
fix test app
2 parents 7c9c33d + fb656d3 commit 5db0ca3

File tree

1 file changed

+2
-0
lines changed
  • test/AWS.Deploy.DockerImageUploader

1 file changed

+2
-0
lines changed

test/AWS.Deploy.DockerImageUploader/App.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
using System.Threading.Tasks;
1111
using System.IO;
1212
using System.Linq;
13+
using AWS.Deploy.CLI.Extensions;
1314
using AWS.Deploy.CLI.Utilities;
1415
using AWS.Deploy.Common.Recipes;
1516
using AWS.Deploy.Orchestration;
@@ -64,6 +65,7 @@ private async Task CreateImageAndPushToECR(string projectPath)
6465
var configFilePath = Path.Combine(projectPath, "DockerImageUploaderConfigFile.json");
6566
var deployArgs = new[] { "deploy", "--project-path", projectPath, "--diagnostics", "--apply", configFilePath, "--silent" };
6667
var serviceCollection = new ServiceCollection();
68+
serviceCollection.AddCustomServices();
6769

6870
var registrar = new TypeRegistrar(serviceCollection);
6971

0 commit comments

Comments
 (0)