fixed ci for pushing to private registry of exact contract types packages.
This commit is contained in:
parent
83d292126c
commit
b76a269bbc
13
.drone.yml
13
.drone.yml
@ -36,10 +36,11 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
VERSION: ${DRONE_TAG}
|
VERSION: ${DRONE_TAG}
|
||||||
NUGETAPIKEY:
|
NUGETAPIKEY:
|
||||||
from_secret: nuget_api_key
|
from_secret: nuget_musk_api_key
|
||||||
commands:
|
commands:
|
||||||
|
- dotnet nuget add source --name musk https://gitea.musk.fun/api/packages/ruberoid/nuget/index.json
|
||||||
- dotnet pack ./local-env/telegram-listener/Nocr.TelegramListener.sln -o ./local-env/telegram-listener/bin
|
- dotnet pack ./local-env/telegram-listener/Nocr.TelegramListener.sln -o ./local-env/telegram-listener/bin
|
||||||
- dotnet nuget push ./local-env/telegram-listener/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate
|
- dotnet nuget push ./local-env/telegram-listener/bin/*Contract*.nupkg --api-key $NUGETAPIKEY --source musk --skip-duplicate
|
||||||
|
|
||||||
- name: nocr text matcher build & push
|
- name: nocr text matcher build & push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -60,10 +61,12 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
VERSION: ${DRONE_TAG}
|
VERSION: ${DRONE_TAG}
|
||||||
NUGETAPIKEY:
|
NUGETAPIKEY:
|
||||||
from_secret: nuget_api_key
|
from_secret: nuget_musk_api_key
|
||||||
commands:
|
commands:
|
||||||
- dotnet pack ./local-env/text-matcher/Nocr.TextMatcher.sln -o ./local-env/text-matcher/bin/
|
- dotnet nuget add source --name musk https://gitea.musk.fun/api/packages/ruberoid/nuget/index.json
|
||||||
- dotnet nuget push ./local-env/text-matcher/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate
|
- dotnet pack ./local-env/text-matcher/Nocr.TextMatcher.sln -o ./local-env/text-matcher/bin
|
||||||
|
- dotnet nuget push ./local-env/text-matcher/bin/*Contract*.nupkg --api-key $NUGETAPIKEY --source musk --skip-duplicate
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user