build: fix missing container defintion
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3677b8ecb8
commit
0a3200f62e
@ -107,30 +107,57 @@ local push_pipelines(versions, architectures) = [
|
|||||||
],
|
],
|
||||||
steps:
|
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
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
+
|
}
|
||||||
[
|
for version in versions
|
||||||
"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
|
|
||||||
];
|
];
|
||||||
|
|
||||||
local push_github = {
|
local push_github = {
|
||||||
|
Loading…
Reference in New Issue
Block a user