From d742a509323b1d9344d23bcb813f4261d4d86b17 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 28 Jul 2018 08:53:45 +0800 Subject: [PATCH] feat: push docker image. --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4dc32ee..640c708 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,3 +45,22 @@ pipeline: group: build commands: - make build_linux_arm + + publish_linux_amd64: + image: plugins/docker:17.05 + pull: true + secrets: [ docker_username, docker_password ] + group: release + repo: ${DRONE_REPO} + auto_tag: true + dockerfile: Dockerfile + when: + event: [ push, tag ] + local: false + + discord: + image: appleboy/drone-discord + pull: true + secrets: [ discord_webhook_id, discord_webhook_token ] + when: + status: [ success, failure ]