try catch publish registry
This commit is contained in:
parent
54d1e543ff
commit
81d539842b
|
@ -156,7 +156,11 @@ async function getImageArtifact({ tag, isBaseImage, isLangImage }) {
|
||||||
await runCommand(`make pull I=${tag}`);
|
await runCommand(`make pull I=${tag}`);
|
||||||
},
|
},
|
||||||
publishToRegistry: async () => {
|
publishToRegistry: async () => {
|
||||||
await runCommand(`make push I=${tag}`);
|
try {
|
||||||
|
await runCommand(`make push I=${tag}`);
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
syncCommand: isBaseImage,
|
syncCommand: isBaseImage,
|
||||||
};
|
};
|
||||||
|
@ -492,10 +496,6 @@ async function executeDepGraph({
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
const statuses = {};
|
const statuses = {};
|
||||||
console.log('HASHES', hashes)
|
|
||||||
for (const name in artifacts) {
|
|
||||||
console.log('name', name)
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const name in artifacts) {
|
for (const name in artifacts) {
|
||||||
if (!hashes.desired[name]) {
|
if (!hashes.desired[name]) {
|
||||||
|
|
Loading…
Reference in New Issue