1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00

ci: don't build portal-api (for now)

This commit is contained in:
Sérgio Ramos 2017-06-20 15:52:32 +01:00
parent 914dbca77f
commit 5275b2c7df

View File

@ -89,6 +89,11 @@ const build = async () => {
const { name } = await readPkg(folder);
const tags = [`${name}:${CIRCLE_BRANCH}`, `${name}:latest`];
// todo remove this
if (name === 'portal-api') {
return;
}
LOG(`${figures.arrowRight} build.name ${name}`);
LOG(JSON.stringify(tags, null, 2));
@ -111,7 +116,7 @@ const build = async () => {
return `${NAMESPACE}/${name}`;
});
await map(images, image => {
await map(images.filter(Boolean), image => {
LOG(`${figures.arrowRight} build.push ${image}`);
return execa('docker', ['push', `${image}`], {
stdio: 'inherit'