Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d010ea9ad | ||
| 55af8257a7 | |||
| e385d6b52e |
@@ -2,7 +2,7 @@ name: Build and Push Docker Images
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ roman ]
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
REGISTRY: git.nullptr.top
|
||||
@@ -17,10 +17,10 @@ jobs:
|
||||
include:
|
||||
- service: gateway
|
||||
dockerfile: src/LiquidCode.Tester.Gateway/Dockerfile
|
||||
image: git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman
|
||||
image: git.nullptr.top/liquidcode/liquidcode-tester-gateway
|
||||
- service: worker
|
||||
dockerfile: src/LiquidCode.Tester.Worker/Dockerfile
|
||||
image: git.nullptr.top/liquidcode/liquidcode-tester-worker-roman
|
||||
image: git.nullptr.top/liquidcode/liquidcode-tester-worker
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -78,10 +78,10 @@ public class WorkerClientService : IWorkerClientService
|
||||
{
|
||||
var workerUrl = language.ToLowerInvariant() switch
|
||||
{
|
||||
"c++" => _configuration["Workers:Cpp"],
|
||||
"c++" or "cpp" => _configuration["Workers:Cpp"],
|
||||
"java" => _configuration["Workers:Java"],
|
||||
"kotlin" => _configuration["Workers:Kotlin"],
|
||||
"c#" => _configuration["Workers:CSharp"],
|
||||
"c#" or "csharp" => _configuration["Workers:CSharp"],
|
||||
"python" => _configuration["Workers:Python"],
|
||||
_ => throw new NotSupportedException($"Language {language} is not supported")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user