Skip to content

Commit

Permalink
chore(libdocker): logging instead of printing
Browse files Browse the repository at this point in the history
  • Loading branch information
4rgon4ut committed Jul 18, 2023
1 parent 8ef8f62 commit 799f5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/libdocker/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ func (b *Builder) BuildImage(ctx context.Context, name string, fsys fs.FS) error
}

func (b *Builder) buildConfig(ctx context.Context, name string) docker.BuildImageOptions {
fmt.Println("buildConfig")
b.logger.Info("buildConfig")
nocache := false
if b.config.NoCachePattern != nil {
fmt.Println(b.config.NoCachePattern)
b.logger.Info("NoCachePattern: ", b.config.NoCachePattern.String())
nocache = b.config.NoCachePattern.MatchString(name)
}
opts := docker.BuildImageOptions{
Expand Down

0 comments on commit 799f5f0

Please sign in to comment.