diff --git a/action.yml b/action.yml index 0eb5106..0270be3 100644 --- a/action.yml +++ b/action.yml @@ -30,7 +30,7 @@ inputs: platform: description: 要编译的平台,可选值linux/arm,linux/arm64,linux/amd64 required: false - args: + build_args: description: 构建参数 required: false script: diff --git a/entrypoint.sh b/entrypoint.sh index 175feba..70d0e36 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,7 +18,7 @@ tags=(${INPUT_TAGS//,/ }) echo $tags -args=(${INPUT_ARGS//,/ }) +args=(${INPUT_BUILD_ARGS//,/ }) echo $args