Skip to content

Commit 5c223db

Browse files
committed
chore: update
- Container().Build() is depricated in dagger-0.18.16 replaced with Direcotry().DockerBuild() Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
1 parent 48e86a2 commit 5c223db

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/firmware-action/container/container.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ func Setup(ctx context.Context, client *dagger.Client, opts *SetupOpts) (*dagger
208208

209209
environment.LogGroupStart("container from dockerfile")
210210
// I have not used this feature in a long time, so not sure how much log would be affected
211-
container = client.Container().Build(
212-
client.Host().Directory(containerPath),
213-
)
211+
container = client.Host().Directory(containerPath).DockerBuild()
214212

215213
environment.LogGroupStop("container from dockerfile")
216214
case ModeTarfile:

0 commit comments

Comments
 (0)