|
|
@ -6,23 +6,37 @@ trigger:
|
|
|
|
- push
|
|
|
|
- push
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
- name: docker-build-and-push
|
|
|
|
image: hub.codefirst.iut.uca.fr/clement.freville2/plugins/kaniko:latest
|
|
|
|
image: plugins/docker
|
|
|
|
|
|
|
|
settings:
|
|
|
|
|
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
|
|
|
|
context: .
|
|
|
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/camille.petitalot/drone-health
|
|
|
|
|
|
|
|
username:
|
|
|
|
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
|
|
|
password:
|
|
|
|
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
mirror: https://proxy.iut.uca.fr:8443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push-2
|
|
|
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
|
|
|
failure: ignore
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
context: .
|
|
|
|
context: .
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
repo: hub.codefirst.iut.uca.fr/clement.freville2/drone-health
|
|
|
|
repo: hub.codefirst.iut.uca.fr/camille.petitalot/drone-health
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
registry_mirrors: mirror.gcr.io
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy-container
|
|
|
|
- name: deploy-container
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/clement.freville2/drone-health:latest
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/camille.petitalot/drone-health:latest
|
|
|
|
CONTAINERNAME: drone-health
|
|
|
|
CONTAINERNAME: drone-health
|
|
|
|
COMMAND: create
|
|
|
|
COMMAND: create
|
|
|
|
OVERWRITE: true
|
|
|
|
OVERWRITE: true
|
|
|
|