Skip to content

Commit c7d1215

Browse files
[fix][PRIV-200] Pass through build args (#2178)
1 parent ca3fa05 commit c7d1215

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

framework/.changeset/v0.10.34.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix: pass in buildArgs to docker build command

framework/components/clnode/clnode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func newNode(in *Input, pgOut *postgres.Output) (*NodeOut, error) {
341341
}
342342
if req.Image == "" {
343343
req.Image = TmpImageName
344-
if err := framework.BuildImageOnce(once, in.Node.DockerContext, in.Node.DockerFilePath, req.Image, nil); err != nil {
344+
if err := framework.BuildImageOnce(once, in.Node.DockerContext, in.Node.DockerFilePath, req.Image, in.Node.DockerBuildArgs); err != nil {
345345
return nil, err
346346
}
347347
req.KeepImage = false

0 commit comments

Comments
 (0)