mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 08:03:46 +00:00
fix: make Docker image validation optional in release validation
This commit is contained in:
parent
7950c93f06
commit
665ace5e16
19 changed files with 331 additions and 288 deletions
|
|
@ -120,16 +120,15 @@ async function validateReuseVersion(version: string): Promise<void> {
|
|||
);
|
||||
}
|
||||
|
||||
// Check Docker images exist
|
||||
// Check Docker images exist (optional - warn if not found)
|
||||
console.log(`Checking Docker images for ${shortCommit}...`);
|
||||
try {
|
||||
await $({ stdio: "inherit" })`docker manifest inspect rivetdev/sandbox-agent:${shortCommit}-amd64`;
|
||||
await $({ stdio: "inherit" })`docker manifest inspect rivetdev/sandbox-agent:${shortCommit}-arm64`;
|
||||
console.log("✅ Docker images exist");
|
||||
} catch (error) {
|
||||
throw new Error(
|
||||
`Docker images for version ${version} (commit ${shortCommit}) do not exist. Error: ${error}`,
|
||||
);
|
||||
console.log(`⚠️ Docker images for ${shortCommit} not found - skipping Docker validation`);
|
||||
console.log(" (Docker images will need to be built before publishing)");
|
||||
}
|
||||
|
||||
// Check S3 artifacts exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue