|
|
|
@ -10,25 +10,25 @@ trigger:
|
|
|
|
|
- push
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
# - name: deploy-container
|
|
|
|
|
# image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
# environment:
|
|
|
|
|
# IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper:latest
|
|
|
|
|
# CONTAINERNAME: openlibraryws_wrapper
|
|
|
|
|
# COMMAND: create
|
|
|
|
|
# OVERWRITE: true
|
|
|
|
|
- name: deploy-container
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
environment:
|
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper:latest
|
|
|
|
|
CONTAINERNAME: openlibraryws_wrapper
|
|
|
|
|
COMMAND: create
|
|
|
|
|
OVERWRITE: true
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
|
context: Sources/
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper
|
|
|
|
|
username:
|
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
password:
|
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
# - name: docker-build-and-push
|
|
|
|
|
# image: plugins/docker
|
|
|
|
|
# settings:
|
|
|
|
|
# dockerfile: Sources/Dockerfile
|
|
|
|
|
# context: Sources/
|
|
|
|
|
# registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
# repo: hub.codefirst.iut.uca.fr/felix.mielcarek/openlibraryws_wrapper
|
|
|
|
|
# username:
|
|
|
|
|
# from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
# password:
|
|
|
|
|
# from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
|
|
# - name: generate-swagger
|
|
|
|
|
# image: mcr.microsoft.com/dotnet/sdk:7.0
|
|
|
|
|