Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
38
.drone.star
38
.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,12 +24,40 @@ def stepPR(arch):
|
||||
"dockerfile": "motsognir/Dockerfile",
|
||||
"repo": "dragonchaser/motsognir",
|
||||
"dry_run": "true",
|
||||
"purge" : "false",
|
||||
"tag": "latest-%s" % (arch),
|
||||
}
|
||||
},
|
||||
{
|
||||
"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-user"
|
||||
"from_secret": "dockerhub-userxx"
|
||||
},
|
||||
"password": {
|
||||
"from_secret": "dockerhub-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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user