Skip to content

Commit a626212

Browse files
committed
Rename build-image to build
1 parent 62b732c commit a626212

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run_cmd(context, exec_cmd, name=NAME, image_ver=IMAGE_VER, local=INVOKE_LOCA
8282

8383

8484
@task
85-
def build_image(
85+
def build(
8686
context, name=NAME, python_ver=PYTHON_VER, image_ver=IMAGE_VER, nocache=False, forcerm=False
8787
): # pylint: disable=too-many-arguments
8888
"""This will build an image with the provided name and python version.
@@ -123,7 +123,7 @@ def clean_image(context, name=NAME, image_ver=IMAGE_VER):
123123

124124

125125
@task
126-
def rebuild_image(context, name=NAME, python_ver=PYTHON_VER, image_ver=IMAGE_VER):
126+
def rebuild(context, name=NAME, python_ver=PYTHON_VER, image_ver=IMAGE_VER):
127127
"""This will clean the image and then rebuild image without using cache.
128128
129129
Args:
@@ -133,7 +133,7 @@ def rebuild_image(context, name=NAME, python_ver=PYTHON_VER, image_ver=IMAGE_VER
133133
image_ver (str): Define image version
134134
"""
135135
clean_image(context, name, image_ver)
136-
build_image(context, name, python_ver, image_ver)
136+
build(context, name, python_ver, image_ver)
137137

138138

139139
@task

0 commit comments

Comments
 (0)