|
|
|
@ -21,23 +21,10 @@ steps:
|
|
|
|
|
from_secret: B0bPassw0rd*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: /Dockerfile
|
|
|
|
|
context: /
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/BOB_PARTEAM/BOB_PARTY
|
|
|
|
|
username:
|
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
password:
|
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy-container
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
environment:
|
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/BOB_PARTEAM/BOB_PARTY:latest
|
|
|
|
|
IMAGENAME: hub.docker.com/r/reactnativecommunity/react-native-android:latest
|
|
|
|
|
CONTAINERNAME: container_react
|
|
|
|
|
COMMAND: create
|
|
|
|
|
OVERWRITE: true
|