bump docker image to net 5
parent
0817efe037
commit
54e3e2b7e5
|
@ -7,18 +7,18 @@
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
image: docker pull mcr.microsoft.com/dotnet/runtime:5.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet build -c Release
|
- dotnet build -c Release
|
||||||
- dotnet test -c Release
|
- dotnet test -c Release
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
image: docker pull mcr.microsoft.com/dotnet/runtime:5.0
|
||||||
environment:
|
environment:
|
||||||
API_KEY:
|
API_KEY:
|
||||||
from_secret: API_KEY
|
from_secret: API_KEY
|
||||||
commands:
|
commands:
|
||||||
- dotnet nuget push /build/encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -s https://api.nuget.org/v3/index.json -k $API_KEY
|
- dotnet nuget push /build/encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -s https://api.nuget.org/v3/index.json -k $API_KEY
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*.*.*
|
- refs/tags/*.*.*
|
||||||
|
|
Loading…
Reference in New Issue