Fix fallback for CI_JOB_NAME
If CI_JOB_NAME is not specified, it's supposed to fall back to the image name, which is `$image`, not `$IMAGE`. Failing to set the correct CI_JOB_NAME causes failures when running `dist-ohos-*` images locally.
This commit is contained in:
parent
119574f835
commit
34426dce3d
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ docker \
|
|||
--env TOOLSTATE_REPO \
|
||||
--env TOOLSTATE_PUBLISH \
|
||||
--env RUST_CI_OVERRIDE_RELEASE_CHANNEL \
|
||||
--env CI_JOB_NAME="${CI_JOB_NAME-$IMAGE}" \
|
||||
--env CI_JOB_NAME="${CI_JOB_NAME-$image}" \
|
||||
--env CI_JOB_DOC_URL="${CI_JOB_DOC_URL}" \
|
||||
--env BASE_COMMIT="$BASE_COMMIT" \
|
||||
--env DIST_TRY_BUILD \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue