From a7c0e1349c95787aedd522b73a555dc1d8af2b25 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 30 Aug 2020 15:37:45 +0200 Subject: [PATCH] try to publish to quay and dockerhub --- .drone.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6f7acd5..d35c6f7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,7 @@ steps: - refs/heads/master - refs/tags/** -- name: publish +- name: publish-dockerhub image: plugins/docker settings: dockerfile: Dockerfile @@ -46,6 +46,25 @@ steps: ref: - refs/heads/master - refs/tags/** + depends_on: + - tags + +- name: publish-quay + image: plugins/docker + settings: + dockerfile: Dockerfile + password: + from_secret: docker_password + registry: quay.io + repo: xoxys/${DRONE_REPO_NAME} + username: + from_secret: docker_username + when: + ref: + - refs/heads/master + - refs/tags/** + depends_on: + - tags - name: publish-gitea image: plugins/gitea-release @@ -59,6 +78,9 @@ steps: when: ref: - refs/tags/** + depends_on: + - publish-dockerhub + - publish-quay --- kind: pipeline @@ -121,6 +143,6 @@ depends_on: --- kind: signature -hmac: b9eb9d4ec40c81af272e943df4db8b2a1594b507bde346439a429e273fdd8389 +hmac: 9716ee4309821ebf821cd9359a42807bb7a509660bff3cc11f0e1dc6833f059d ...