Compare commits

...

2 Commits

Author SHA1 Message Date
Christian Richter
725b0b91b0 test multiple push
Some checks reported errors
continuous-integration/drone/pr Build was killed
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-12 10:28:16 +02:00
ca8d7012ba Merge pull request 'Fix Dockerfiles for motsognir' (#5) from drone-tests into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #5
2022-05-12 10:05:16 +02:00

View File

@@ -1,9 +1,9 @@
def main(ctx): def main(ctx):
return [ return [
stepPR("amd64"), stepPR("amd64"),
stepPR("arm64"), #stepPR("arm64"),
stepMergeMaster("amd64"), #stepMergeMaster("amd64"),
stepMergeMaster("arm64"), #stepMergeMaster("arm64"),
] ]
@@ -24,12 +24,40 @@ def stepPR(arch):
"dockerfile": "motsognir/Dockerfile", "dockerfile": "motsognir/Dockerfile",
"repo": "dragonchaser/motsognir", "repo": "dragonchaser/motsognir",
"dry_run": "true", "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), "tag": "latest-%s" % (arch),
"username": { "username": {
"from_secret": "dockerhub-user" "from_secret": "dockerhub-userxx"
}, },
"password": { "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"
} }
} }
}, },