From 43edfd37c86800c99e4d989d27c1048a71ddbf0f Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Sun, 3 Jan 2021 00:39:50 +0100 Subject: [PATCH] tests for docker hub --- .drone.jsonnet | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.drone.jsonnet b/.drone.jsonnet index 3ffe434..30cb13e 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -26,6 +26,20 @@ local pipeline(os, arch) = { event: "tag" }, }, + { + name: "upload to docker hub " + os + "/" + arch, + image: "plugins/docker", + settings: { + repo: "fftdf/ffmap-ubnt-api", + username: { "from_secret": "docker_username" }, + password: { "from_secret": "docker_password" }, + auto_tag: true, + auto_tag_suffix: os + "-" + arch + }, + when: { + event: "tag" + }, + }, ], };