Compare commits
2 Commits
c1357cb6c9
...
725b0b91b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
725b0b91b0 | ||
| ca8d7012ba |
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