looping against
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -7,7 +7,7 @@ local build(dir, package) = {
|
|||||||
name: '%(dir)s-%(package)s' % { dir: dir, package: package },
|
name: '%(dir)s-%(package)s' % { dir: dir, package: package },
|
||||||
platform: {
|
platform: {
|
||||||
os: 'linux',
|
os: 'linux',
|
||||||
arch: 'arm64'
|
arch: 'arm64',
|
||||||
},
|
},
|
||||||
steps: [{
|
steps: [{
|
||||||
name: '%(package)s' % { package: package },
|
name: '%(package)s' % { package: package },
|
||||||
@@ -18,12 +18,17 @@ local build(dir, package) = {
|
|||||||
registry: 'http://cr.wks',
|
registry: 'http://cr.wks',
|
||||||
insecure: 'true',
|
insecure: 'true',
|
||||||
tags: ['latest'],
|
tags: ['latest'],
|
||||||
repo: 'cr.wks/%(package)s' % { package: package }
|
repo: 'cr.wks/%(package)s' % { package: package },
|
||||||
}
|
},
|
||||||
}]
|
}],
|
||||||
};
|
};
|
||||||
|
|
||||||
[
|
/* [
|
||||||
#build('_CI-CD',pkg) for pkg in packages;
|
#build('_CI-CD',pkg) for pkg in packages;
|
||||||
build('_CI-CD','debian-stable'),
|
build('_CI-CD','debian-stable'),
|
||||||
]
|
] */
|
||||||
|
|
||||||
|
std.flattenArrays([
|
||||||
|
build('_CI-CD', pkg)
|
||||||
|
for pkg in packages
|
||||||
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user