[CICD]add no_proxy arg when building bigdata (#7868)
* [CICD]add no_proxy arg when building bigdata * fix
This commit is contained in:
parent
144efd0748
commit
522e5ae35b
2 changed files with 14 additions and 2 deletions
8
.github/workflows/manually_build.yml
vendored
8
.github/workflows/manually_build.yml
vendored
|
|
@ -840,7 +840,7 @@ jobs:
|
|||
--build-arg JDK_VERSION=8u192 \
|
||||
--build-arg JDK_URL=${JDK_URL} \
|
||||
--build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
|
||||
--build-arg no_proxy=${LOCAL_IP} \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
--build-arg BASE_IMAGE_NAME=${base_image} \
|
||||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
-t ${bigdata_base_image}:${TAG} -f ./Dockerfile .
|
||||
|
|
@ -857,6 +857,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=16G \
|
||||
--build-arg SGX_LOG_LEVEL=error \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -871,6 +872,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=8G \
|
||||
--build-arg SGX_LOG_LEVEL=error \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -889,6 +891,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=4G \
|
||||
--build-arg SGX_LOG_LEVEL=error \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -903,6 +906,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=16G \
|
||||
--build-arg SGX_LOG_LEVEL=all \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -917,6 +921,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=8G \
|
||||
--build-arg SGX_LOG_LEVEL=all \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -931,6 +936,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=4G \
|
||||
--build-arg SGX_LOG_LEVEL=all \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
|
|||
|
|
@ -728,7 +728,7 @@ jobs:
|
|||
--build-arg JDK_VERSION=8u192 \
|
||||
--build-arg JDK_URL=${JDK_URL} \
|
||||
--build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
|
||||
--build-arg no_proxy=${LOCAL_IP} \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
--build-arg BASE_IMAGE_NAME=${base_image} \
|
||||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
-t ${bigdata_base_image}:${TAG} -f ./Dockerfile .
|
||||
|
|
@ -745,6 +745,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=16G \
|
||||
--build-arg SGX_LOG_LEVEL=error \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -759,6 +760,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=8G \
|
||||
--build-arg SGX_LOG_LEVEL=error \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -773,6 +775,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=4G \
|
||||
--build-arg SGX_LOG_LEVEL=error \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -787,6 +790,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=16G \
|
||||
--build-arg SGX_LOG_LEVEL=all \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -801,6 +805,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=8G \
|
||||
--build-arg SGX_LOG_LEVEL=all \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
@ -815,6 +820,7 @@ jobs:
|
|||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg SGX_MEM_SIZE=4G \
|
||||
--build-arg SGX_LOG_LEVEL=all \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-t ${bigdata_custom_image}:${TAG} \
|
||||
-f ./Dockerfile .
|
||||
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||
|
|
|
|||
Loading…
Reference in a new issue