Update '.drone.yml'
continuous-integration/drone/push Build is failing Details

testDocker
Lilian BRETON 3 years ago
parent 2edc1afc0a
commit 288b431173

@ -6,7 +6,7 @@ name: Dockers_Builder
# Creation of the DB docker
steps:
- name: deploy-mysql-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
image: mysql
environment:
IMAGENAME: mysql:8.0
CONTAINERNAME: mysql
@ -24,17 +24,17 @@ steps:
# docker image build (at least I'm trying)
- name: docker-build-and-push
image: plugins/docker
settings:
dockerfile: Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/lilian.breton/bobparty
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
# - name: docker-build-and-push
# image: plugins/docker
# settings:
# dockerfile: Dockerfile
# context: .
# registry: hub.codefirst.iut.uca.fr
# repo: hub.codefirst.iut.uca.fr/lilian.breton/bobparty
# username:
# from_secret: SECRET_REGISTRY_USERNAME
# password:
# from_secret: SECRET_REGISTRY_PASSWORD
# container deployment
# - name: deploy-bob_party-container

Loading…
Cancel
Save