Skip to content

Commit

Permalink
Keep docker binary command due to the issue #416 (#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengshiwen committed Apr 14, 2021
1 parent 0c8e22e commit e8ed4d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ env:
# Common versions
GO_VERSION: '1.14'
GOLANGCI_VERSION: 'v1.38'
DOCKER_BUILDX_VERSION: 'v0.4.2'
KIND_VERSION: 'v0.7.0'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion pkg/builtin/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func asyncLog(reader io.Reader, stream cmdutil.IOStreams) {
// buildImage will build a image with name and context.
func (b *Build) buildImage(io cmdutil.IOStreams, image string) error {
//nolint:gosec
// TODO(hongchaodeng): remove this dependency by using go lib
// keep docker binary command due to the issue #416 https://github.com/oam-dev/kubevela/issues/416
cmd := exec.Command("docker", "build", "-t", image, "-f", b.Docker.File, b.Docker.Context)
stdout, err := cmd.StdoutPipe()
if err != nil {
Expand Down

0 comments on commit e8ed4d7

Please sign in to comment.