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" + }, + }, ], };