mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
ci: don't build portal-api (for now)
This commit is contained in:
parent
914dbca77f
commit
5275b2c7df
@ -89,6 +89,11 @@ const build = async () => {
|
|||||||
const { name } = await readPkg(folder);
|
const { name } = await readPkg(folder);
|
||||||
const tags = [`${name}:${CIRCLE_BRANCH}`, `${name}:latest`];
|
const tags = [`${name}:${CIRCLE_BRANCH}`, `${name}:latest`];
|
||||||
|
|
||||||
|
// todo remove this
|
||||||
|
if (name === 'portal-api') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOG(`${figures.arrowRight} build.name ${name}`);
|
LOG(`${figures.arrowRight} build.name ${name}`);
|
||||||
LOG(JSON.stringify(tags, null, 2));
|
LOG(JSON.stringify(tags, null, 2));
|
||||||
|
|
||||||
@ -111,7 +116,7 @@ const build = async () => {
|
|||||||
return `${NAMESPACE}/${name}`;
|
return `${NAMESPACE}/${name}`;
|
||||||
});
|
});
|
||||||
|
|
||||||
await map(images, image => {
|
await map(images.filter(Boolean), image => {
|
||||||
LOG(`${figures.arrowRight} build.push ${image}`);
|
LOG(`${figures.arrowRight} build.push ${image}`);
|
||||||
return execa('docker', ['push', `${image}`], {
|
return execa('docker', ['push', `${image}`], {
|
||||||
stdio: 'inherit'
|
stdio: 'inherit'
|
||||||
|
Loading…
Reference in New Issue
Block a user