2 Commits
Author SHA1 Message Date
monster 97e81c3af4 Update blank.yml
Create and publish a Docker image / build-and-push-image (push) Failing after 14s
2024-02-07 13:31:39 +03:00
kislovdm 071aa73015 build fix 2024-02-07 13:04:29 +03:00
3 changed files with 4 additions and 7 deletions
+2
View File
@@ -4,6 +4,8 @@ name: Create and publish a Docker image
on:
push:
branches: [ "master" ]
tags:
- '*'
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
-5
View File
@@ -23,11 +23,6 @@ public class App : IApp
ServerCertificateCustomValidationCallback = (_, _, _, _) => true
};
_settings = new Settings();
if (string.IsNullOrEmpty(_settings.GitlabUrl))
{
Console.WriteLine("CI_SERVER_URL is not defined.");
return;
}
_client = new GitLabClient(_settings.GitlabUrl, _settings.GitlabToken, httpHandler);
_customClient = new GitlabCustomClient(_settings.GitlabUrl, _settings.GitlabToken, httpHandler);
}
+1 -1
View File
@@ -9,5 +9,5 @@ namespace Approve.Checker.Gitlab;
public class ApproversDto
{
public int CountApprovers { get; set; } = 1;
public List<string> Users { get; set; }
public List<string> Users { get; set; } = new();
}