From 96d3a9cb9e96134a7b39e53a9f1dfa1bba7841ce Mon Sep 17 00:00:00 2001 From: Xander Sigler Date: Sun, 15 Jan 2023 22:44:14 -0800 Subject: [PATCH] Added new git container registry push --- .drone.yml | 23 ++++++++++++++++++----- AdventOfCode.sln | 4 ++-- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6936922..05ec342 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,18 +15,31 @@ steps: - cp -a AdventOfCode.Tests/Data/. /drone/src/AdventOfCode.Tests/bin/Debug/net5.0/ - dotnet test AdventOfCode.Tests --logger "console;verbosity=detailed" +# - name: build-advent-of-code + # image: plugins/docker + # settings: + # username: + # from_secret: gitlab_username + # password: + # from_secret: gitlab_password + # registry: registry.gitlab.com/sig14 + # repo: registry.gitlab.com/sig14/advent-of-code + # dockerfile: AdventOfCode/Dockerfile + # depends_on: + # - test + - name: build-advent-of-code image: plugins/docker settings: username: - from_secret: gitlab_username + from_secret: gitea_user password: - from_secret: gitlab_password - registry: registry.gitlab.com/sig14 - repo: registry.gitlab.com/sig14/advent-of-code + from_secret: gitea_password + registry: git.siglerdev.us/97waterpolo + repo: git.siglerdev.us/97waterpolo/advent-of-code dockerfile: AdventOfCode/Dockerfile depends_on: - - test + - test - name: deploy-containers image: curlimages/curl diff --git a/AdventOfCode.sln b/AdventOfCode.sln index a498403..a40ab78 100644 --- a/AdventOfCode.sln +++ b/AdventOfCode.sln @@ -5,9 +5,9 @@ VisualStudioVersion = 16.0.32929.386 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode", "AdventOfCode\AdventOfCode.csproj", "{30F2887D-526F-4068-A581-E20BAF52F900}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode.InputFetcher", "AdventOfCode.InputFetcher\AdventOfCode.InputFetcher.csproj", "{105BF947-9878-4995-B16B-F8093A53EC66}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode.InputFetcher", "AdventOfCode.InputFetcher\AdventOfCode.InputFetcher.csproj", "{105BF947-9878-4995-B16B-F8093A53EC66}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode.Tests", "AdventOfCode.Tests\AdventOfCode.Tests.csproj", "{03C0BB76-6521-4B51-B267-346E88678D79}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode.Tests", "AdventOfCode.Tests\AdventOfCode.Tests.csproj", "{03C0BB76-6521-4B51-B267-346E88678D79}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution