build: fix missing container defintion
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dominik Meyer 2025-01-08 08:28:45 +01:00
parent 3677b8ecb8
commit 0a3200f62e
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -107,30 +107,57 @@ local push_pipelines(versions, architectures) = [
],
steps:
[
"scripts/setupEnvironment.sh",
"buildah manifest create redmine:"+version.tag,
{
name: "Push " + version.tag,
image: "quay.io/buildah/stable",
privileged: true,
environment:
{
USERNAME:
{
from_secret: "username"
},
PASSWORD:
{
from_secret: "password"
}
},
volumes:
[
{
name: "fedhq-ca-crt",
path: "/etc/ssl/certs2/"
}
],
commands:
[
"scripts/setupEnvironment.sh",
"buildah manifest create redmine:"+version.tag,
]
+
[
"buildah manifest add redmine:" + version.tag + " registry.cloud.federationhq.de/redmine:"+version.tag + "-" + arch
for arch in architectures
]
+
[
"buildah manifest push --all redmine:"+version.tag + " docker://registry.cloud.federationhq.de/redmine:"+tag
for tag in [version.tag]+version.additional_tags
]
+
[
"buildah login -u $${USERNAME} -p $${PASSWORD} registry.hub.docker.com",
]
+
[
"buildah manifest push --all redmine:"+version.tag + " docker://registry.hub.docker.com/byterazor/redmine:"+tag
for tag in [version.tag]+version.additional_tags
]
}
]
+
[
"buildah manifest add redmine:" + version.tag + " registry.cloud.federationhq.de/redmine:"+version.tag + "-" + arch
for arch in architectures
]
+
[
"buildah manifest push --all redmine:"+version.tag + " docker://registry.cloud.federationhq.de/redmine:"+tag
for tag in [version.tag]+version.additional_tags
]
+
[
"buildah login -u $${USERNAME} -p $${PASSWORD} registry.hub.docker.com",
]
+
[
"buildah manifest push --all redmine:"+version.tag + " docker://registry.hub.docker.com/byterazor/redmine:"+tag
for tag in [version.tag]+version.additional_tags
],
}
for version in versions
}
for version in versions
];
local push_github = {