Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
29a5b8be8d |
|||
|
d7e274c93a |
|||
|
bc8ae74fc3 |
1 changed files with 7 additions and 1 deletions
8
.github/workflows/docker-publish-backend.yml
vendored
8
.github/workflows/docker-publish-backend.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
production-deploy:
|
production-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-26.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# 1. Récupération du code
|
# 1. Récupération du code
|
||||||
|
|
@ -25,6 +25,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
- name: Set up .NET
|
||||||
|
uses: actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
dotnet-version: 10.0.x
|
||||||
|
- name: Workloads restore
|
||||||
|
run: dotnet workload restore
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --report-xunit --report-xunit-html --results-directory "test-reports"
|
run: dotnet test --report-xunit --report-xunit-html --results-directory "test-reports"
|
||||||
# 4. Build et Push de l'image de production finale
|
# 4. Build et Push de l'image de production finale
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue