Skip to content

Commit c3ee008

Browse files
committed
Fix command/entrypoint when using ACI
1 parent 13b6956 commit c3ee008

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/Tingle.Dependabot/Workflow/UpdateRunner.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ public async Task CreateAsync(Repository repository, RepositoryUpdate update, Up
6161
var container = new ContainerInstanceContainer(UpdaterContainerName, image, new(job.Resources!));
6262
var env = CreateVariables(repository, update, job);
6363
foreach (var (key, value) in env) container.EnvironmentVariables.Add(new ContainerEnvironmentVariable(key) { Value = value, });
64+
65+
// prepare the container command/entrypoint (this is what seems to work)
66+
container.Command.Add("/bin/bash");
67+
container.Command.Add("bin/run.sh");
6468
container.Command.Add("update-script");
6569

6670
// prepare the container group

0 commit comments

Comments
 (0)