тестирование и публикация в одном job
All checks were successful
Unit tests / tests-and-publication (push) Successful in 1m33s
All checks were successful
Unit tests / tests-and-publication (push) Successful in 1m33s
This commit is contained in:
parent
3835bf284b
commit
d67eaca0e6
@ -6,7 +6,7 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
tests-and-publication:
|
||||
runs-on: ubuntu-latest
|
||||
# container: node
|
||||
|
||||
@ -49,9 +49,6 @@ jobs:
|
||||
- name: Build solution
|
||||
run: dotnet build --no-restore
|
||||
|
||||
- name: Login to Gitea Docker Registry
|
||||
run: docker login -u publisher -p ${{ secrets.PUBLISHER_PASSWORD }} https://git.ddrilling.ru
|
||||
|
||||
- name: Run integration tests
|
||||
run: dotnet test DD.Persistence.IntegrationTests
|
||||
|
||||
@ -70,6 +67,9 @@ jobs:
|
||||
- name: Publish Persistence Models Package
|
||||
run: dotnet nuget push ./artifacts/DD.Persistence.Models.*.nupkg --source gitea --skip-duplicate
|
||||
|
||||
- name: Login to Gitea Docker Registry
|
||||
run: docker login -u publisher -p ${{ secrets.PUBLISHER_PASSWORD }} https://git.ddrilling.ru
|
||||
|
||||
- name: Docker Build
|
||||
run: docker build -t git.ddrilling.ru/ddrilling/persistence:latest --network=host --build-arg PUBLISHERPASSWORD="${{ secrets.PUBLISHER_PASSWORD }}" -f DD.Persistence.App/Dockerfile .
|
||||
|
Loading…
Reference in New Issue
Block a user