|
|
@ -6,7 +6,7 @@ trigger:
|
|
|
|
event:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- push
|
|
|
|
|
|
|
|
|
|
|
|
# docker image build
|
|
|
|
steps:
|
|
|
|
- name: docker-build-and-push
|
|
|
|
- name: docker-build-and-push
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
@ -20,10 +20,10 @@ trigger:
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
|
|
|
|
# container deployment
|
|
|
|
# container deployment
|
|
|
|
- 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/maxence.lanone/drone-sonarplugin-reactnative:latest
|
|
|
|
# IMAGENAME: hub.codefirst.iut.uca.fr/maxence.lanone/drone-sonarplugin-reactnative:latest
|
|
|
|
CONTAINERNAME: drone-sonarplugin-reactnative
|
|
|
|
# CONTAINERNAME: drone-sonarplugin-reactnative
|
|
|
|
COMMAND: create
|
|
|
|
# COMMAND: create
|
|
|
|
OVERWRITE: true
|
|
|
|
# OVERWRITE: true
|