From 5f586112325c651e11fa8a90b142197df182e149 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 8 Aug 2018 23:34:24 -0700 Subject: [PATCH] enable publishing images --- .drone.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index faac8a8..8a34df2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,12 +19,22 @@ pipeline: repo: drone/git auto_tag: true auto_tag_suffix: linux-amd64 - dry_run: true + secrets: + - docker_username + - docker_password when: event: - push - tag +secrets: + docker_username: + external: + name: drone/docker#username + docker_password: + external: + name: drone/docker#password + --- metadata: name: linux-arm64 @@ -53,8 +63,18 @@ pipeline: repo: drone/git auto_tag: true auto_tag_suffix: linux-arm64 - dry_run: true + secrets: + - docker_username + - docker_password when: event: - push - tag + +secrets: + docker_username: + external: + name: drone/docker#username + docker_password: + external: + name: drone/docker#password