diff --git a/plan/task/build.go b/plan/task/build.go index 94228600..a7fe22f3 100644 --- a/plan/task/build.go +++ b/plan/task/build.go @@ -115,7 +115,7 @@ func (t *buildTask) dockerfile(ctx context.Context, pctx *plancontext.Context, s return nil, err } - var solvedRef bkgw.Reference + solvedRef := ref if ref != nil { st, err := ref.ToState() if err != nil { @@ -126,8 +126,6 @@ func (t *buildTask) dockerfile(ctx context.Context, pctx *plancontext.Context, s if err != nil { return nil, err } - } else { - solvedRef = ref } // Image metadata diff --git a/tests/cue.mod/module.cue b/tests/cue.mod/module.cue deleted file mode 100644 index f8af9cef..00000000 --- a/tests/cue.mod/module.cue +++ /dev/null @@ -1 +0,0 @@ -module: "" diff --git a/tests/cue.mod/pkg/.gitignore b/tests/cue.mod/pkg/.gitignore deleted file mode 100644 index 2d4dc1ae..00000000 --- a/tests/cue.mod/pkg/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# generated by dagger -alpha.dagger.io -dagger.lock