Skip to content

Commit 6d899ea

Browse files
authored
fix: building images on paid jobs when free config is missing (#1352)
1 parent 328c21a commit 6d899ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/c2d/compute_engine_docker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ export class C2DEngineDocker extends C2DEngine {
12581258
if (
12591259
algorithm.meta.container &&
12601260
algorithm.meta.container.dockerfile &&
1261-
!env.free.allowImageBuild
1261+
!env.free?.allowImageBuild
12621262
) {
12631263
throw new Error(`Building image is not allowed for free jobs`)
12641264
}

0 commit comments

Comments
 (0)