From 81a0318617a8a9ce001aa22f023b85fc47a31dc6 Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Mon, 13 Nov 2017 23:30:21 +0000 Subject: [PATCH] config drone --- .drone.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4ee086c..a8a0a1f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,19 +1,12 @@ pipeline: build: image: plugins/docker - repo: registry.dryusdan.fr/dryusdan/peertube registry: registry.dryusdan.fr - action: build - tags: - - latest + repo: registry.dryusdan.fr/dryusdan/peertube + secrets: [ docker_username, docker_password ] push: - image: xataz/docker-drone-plugin - repo: registry.dryusdan.fr/dryusdan/peertube - registry: registry.dryusdan.fr - username: $PRIVATE_LOGIN - password: $PRIVATE_PASSWORD - action: push - when: - branch: master - event: [push, tag, deployment] + image: appleboy/drone-git-push + branch: master + remote: git@github.com:Dryusdan/docker-peertube.git + secrets: [ git_push_ssh_key ]