From 725b0b91b05e3be0889944b2921a8d5cd35787aa Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Thu, 12 May 2022 10:13:50 +0200 Subject: [PATCH] test multiple push Signed-off-by: Christian Richter --- .drone.star | 46 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/.drone.star b/.drone.star index 15a9f2b..70c31b3 100644 --- a/.drone.star +++ b/.drone.star @@ -1,9 +1,9 @@ def main(ctx): return [ stepPR("amd64"), - stepPR("arm64"), - stepMergeMaster("amd64"), - stepMergeMaster("arm64"), + #stepPR("arm64"), + #stepMergeMaster("amd64"), + #stepMergeMaster("arm64"), ] @@ -24,15 +24,43 @@ def stepPR(arch): "dockerfile": "motsognir/Dockerfile", "repo": "dragonchaser/motsognir", "dry_run": "true", + "purge" : "false", "tag": "latest-%s" % (arch), - "username": { - "from_secret": "dockerhub-user" - }, - "password": { - "from_secret": "dockerhub-password" - } } }, + { + "name": "publish-image-dockerhub-%s" % (arch), + "image": "plugins/docker", + "settings": { + "dockerfile": "motsognir/Dockerfile", + "repo": "dragonchaser/motsognir", + "dry_run": "true", + "purge" : "false", + "tag": "latest-%s" % (arch), + "username": { + "from_secret": "dockerhub-userxx" + }, + "password": { + "from_secret": "dockerhub-passwordxx" + } + } + }, + { + "name": "publish-image-quay-%s" % (arch), + "image": "plugins/docker", + "settings": { + "dockerfile": "motsognir/Dockerfile", + "repo": "quay.io/dragonchaser/motsognir", + "dry_run": "true", + "tag": "latest-%s" % (arch), + "username": { + "from_secret": "dockerhub-userxx" + }, + "password": { + "from_secret": "dockerhub-passwordxx" + } + } + }, ], "trigger": { "ref": [