Skip to content

Commit 2e46524

Browse files
committed
rename image platform env var
1 parent be73c59 commit 2e46524

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/webapp/app/env.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ const EnvironmentSchema = z.object({
270270
DEPLOY_REGISTRY_USERNAME: z.string().optional(),
271271
DEPLOY_REGISTRY_PASSWORD: z.string().optional(),
272272
DEPLOY_REGISTRY_NAMESPACE: z.string().default("trigger"),
273-
DEPLOY_BUILD_PLATFORM: z.string().default("linux/amd64"),
273+
DEPLOY_IMAGE_PLATFORM: z.string().default("linux/amd64"),
274274
DEPLOY_TIMEOUT_MS: z.coerce
275275
.number()
276276
.int()

apps/webapp/app/v3/services/initializeDeployment.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class InitializeDeploymentService extends BaseService {
104104
triggeredById: triggeredBy?.id,
105105
type: payload.type,
106106
imageReference: imageRef,
107-
imagePlatform: env.DEPLOY_BUILD_PLATFORM,
107+
imagePlatform: env.DEPLOY_IMAGE_PLATFORM,
108108
git: payload.gitMeta ?? undefined,
109109
},
110110
});

0 commit comments

Comments
 (0)