empty context
This commit is contained in:
parent
82e2cc3167
commit
dc5833730c
@ -143,7 +143,10 @@ build(){
|
|||||||
if [ -z "$dockerfile" ]; then
|
if [ -z "$dockerfile" ]; then
|
||||||
dockerfile="Dockerfile"
|
dockerfile="Dockerfile"
|
||||||
fi
|
fi
|
||||||
$engine buildx build --platform $platform -t $new_image_tag -f $context$dockerfile $context
|
if [ -z "$context" ]; then
|
||||||
|
context="."
|
||||||
|
fi
|
||||||
|
$engine buildx build --platform $platform -t $new_image_tag -f $context/$dockerfile $context
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
#push(){
|
#push(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user