|
|
|
@ -18,20 +18,6 @@ steps:
|
|
|
|
|
- dotnet build LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
|
- dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
|
|
|
|
|
|
|
# docker image build
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
|
context: Sources/
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/enzo.jolys/Api-LOL
|
|
|
|
|
username:
|
|
|
|
|
from_secret: enzo
|
|
|
|
|
password:
|
|
|
|
|
from_secret: toto
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: tests
|
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
|
commands:
|
|
|
|
@ -75,6 +61,20 @@ steps:
|
|
|
|
|
- master
|
|
|
|
|
depends_on: [ build ]
|
|
|
|
|
|
|
|
|
|
# docker image build
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
|
context: Sources/
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/enzo.jolys/Api-LOL
|
|
|
|
|
username:
|
|
|
|
|
from_secret: enzo
|
|
|
|
|
password:
|
|
|
|
|
from_secret: toto
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
- name: docs
|
|
|
|
|
temp: {}
|