Skip to content

Commit

Permalink
build/common: check if docker buildx is available
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Panato <[email protected]>
  • Loading branch information
cpanato committed Sep 10, 2021
1 parent fcd713e commit ee04b4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ function kube::build::build_image() {
# $3 is the value to set the --pull flag for docker build; true by default
# $4 is the set of --build-args for docker.
function kube::build::docker_build() {
kube::util::ensure-docker-buildx

local -r image=$1
local -r context_dir=$2
local -r pull="${3:-true}"
Expand Down

0 comments on commit ee04b4d

Please sign in to comment.