Skip to content

Commit

Permalink
[server] Fix checkoutLocation for imagebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
geropl committed Mar 17, 2022
1 parent 656b666 commit 076b573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/server/src/workspace/workspace-starter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -726,13 +726,13 @@ export class WorkspaceStarter {
) {
// TODO(se): we cannot change this initializer structure now because it is part of how baserefs are computed in image-builder.
// Image builds should however just use the initialization if the workspace they are running for (i.e. the one from above).

checkoutLocation = ".";
const { initializer, disposable } = await this.createCommitInitializer(
{ span },
workspace,
{
...imgsrc.dockerFileSource,
checkoutLocation: ".",
checkoutLocation,
title: "irrelevant",
ref: undefined,
},
Expand Down

0 comments on commit 076b573

Please sign in to comment.