There was an error while loading. Please reload this page.
1 parent a1ea81d commit 25cd368Copy full SHA for 25cd368
packages/wrangler/src/cloudchamber/deploy.ts
@@ -24,9 +24,7 @@ export async function buildContainer(
24
const imageFullName = containerConfig.name + ":" + imageTag.split("-")[0];
25
logger.log("Building image", imageFullName);
26
27
-// if something already exists on remote, it will be {digest:string} and
28
-// otherwise, it will be the new image tag {tag:string}
29
-const updatedImageRef = await buildAndMaybePush(
+return await buildAndMaybePush(
30
{
31
tag: imageFullName,
32
pathToDockerfile: containerConfig.dockerfile,
@@ -37,8 +35,6 @@ export async function buildContainer(
37
35
!dryRun,
38
36
containerConfig
39
);
40
-
41
-return updatedImageRef;
42
}
43
44
export type DeployContainersArgs = {
0 commit comments