Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

pull/4/head
Lucas EVARD 2 years ago
parent 8519c0dd18
commit 06e788c8e3

@ -10,7 +10,7 @@ steps:
- name: compilation
image: maven:3-openjdk-11
commands:
- mvn install
- mvn package
@ -25,10 +25,10 @@ trigger:
- push
steps:
- name: hadolint
image: hadolint/hadolint:latest-alpine
commands:
- hadolint Sources/Dockerfile
#- name: hadolint
# image: hadolint/hadolint:latest-alpine
#commands:
# - hadolint Sources/Dockerfile
- name: docker-image
image: plugins/docker
@ -36,12 +36,16 @@ steps:
dockerfile: Sources/Dockerfile
context: Sources
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/AllDev/API
repo: hub.codefirst.iut.uca.fr/lucas.evard/api
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/AllDev/API:latest
IMAGENAME: hub.codefirst.iut.uca.fr/lucas.evard/api:latest
CONTAINERNAME: api
COMMAND: create
OVERWRITE: true

Loading…
Cancel
Save