try catch publish registry

This commit is contained in:
plondon 2021-10-23 11:02:09 -04:00
parent 54d1e543ff
commit 81d539842b
1 changed files with 5 additions and 5 deletions

View File

@ -156,7 +156,11 @@ async function getImageArtifact({ tag, isBaseImage, isLangImage }) {
await runCommand(`make pull I=${tag}`);
},
publishToRegistry: async () => {
await runCommand(`make push I=${tag}`);
try {
await runCommand(`make push I=${tag}`);
} catch (e) {
console.log(e);
}
},
syncCommand: isBaseImage,
};
@ -492,10 +496,6 @@ async function executeDepGraph({
})
);
const statuses = {};
console.log('HASHES', hashes)
for (const name in artifacts) {
console.log('name', name)
}
for (const name in artifacts) {
if (!hashes.desired[name]) {