diff --git a/.drone.yml b/.drone.yml index d257e35..ec4c05c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,10 +25,26 @@ 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: deploy-container-postgres + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: postgres:latest + CONTAINERNAME: postgresapi + COMMAND: create + OVERWRITE: false + PRIVATE: false + ADMINS: lucasevard,emrekartal,arthurvalin,lucasdelanier + CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD: + from_secret: db_root_password + CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: + from_secret: db_database + CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER: + from_secret: db_user - name: docker-image image: plugins/docker