Changes
Build and Push Docker Images / build (push) Failing after 1s

This commit is contained in:
2026-05-06 19:58:29 +03:00
parent ebe4e449ad
commit bc85a450e5
15 changed files with 50 additions and 45 deletions
-13
View File
@@ -1,13 +0,0 @@
using System.Security.Cryptography;
using System.Text;
namespace Api.Clients.Ai;
public static class HashHelper
{
public static string Compute(string value)
{
using var sha = SHA256.Create();
return Convert.ToHexString(sha.ComputeHash(Encoding.UTF8.GetBytes(value ?? string.Empty)));
}
}
@@ -4,6 +4,7 @@ using System.Text.Json;
using System.Text.Json.Serialization;
using Api.Clients.Ai.Contracts;
using Api.Data.Repositories.Contracts;
using CommonHelpers;
using CvMatcher.Models.Settings;
using Microsoft.Extensions.Options;
+2
View File
@@ -5,6 +5,7 @@ WORKDIR /src
COPY cv-matcher-api/cv-matcher-api.csproj cv-matcher-api/
COPY shared-models/shared-models.csproj shared-models/
COPY cv-matcher-api-models/cv-matcher-api-models.csproj cv-matcher-api-models/
COPY common-helpers/ common-helpers/
COPY startup-helpers/startup-helpers.csproj startup-helpers/
RUN dotnet restore cv-matcher-api/cv-matcher-api.csproj
@@ -12,6 +13,7 @@ RUN dotnet restore cv-matcher-api/cv-matcher-api.csproj
COPY cv-matcher-api/ cv-matcher-api/
COPY shared-models/ shared-models/
COPY cv-matcher-api-models/ cv-matcher-api-models/
COPY common-helpers/ common-helpers/
COPY startup-helpers/ startup-helpers/
RUN dotnet publish cv-matcher-api/cv-matcher-api.csproj -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+1
View File
@@ -77,6 +77,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\common-helpers\common-helpers.csproj" />
<ProjectReference Include="..\cv-matcher-api-models\cv-matcher-api-models.csproj" />
<ProjectReference Include="..\shared-models\shared-models.csproj" />
<ProjectReference Include="..\startup-helpers\startup-helpers.csproj" />