@@ -54,9 +54,6 @@ BASE_BINARY_NAME="${BASE_BINARY_NAME:-"envoy"}"
54
54
# If enabled, we will just build the Envoy binary rather than wasm, etc
55
55
BUILD_ENVOY_BINARY_ONLY=" ${BUILD_ENVOY_BINARY_ONLY:- 0} "
56
56
57
- # Push envoy docker image.
58
- PUSH_DOCKER_IMAGE=0
59
-
60
57
# Support CentOS builds
61
58
BUILD_FOR_CENTOS=0
62
59
@@ -65,17 +62,14 @@ function usage() {
65
62
-d The bucket name to store proxy binary (optional).
66
63
If not provided, both envoy binary push and docker image push are skipped.
67
64
-i Skip Ubuntu Xenial check. DO NOT USE THIS FOR RELEASED BINARIES.
68
- -c Build for CentOS releases. This will disable the Ubuntu Xenial check.
69
- -p Push wasm oci image.
70
- Registry is hard coded to gcr.io and repository is controlled via DOCKER_REPOSITORY and WASM_REPOSITORY env var."
65
+ -c Build for CentOS releases. This will disable the Ubuntu Xenial check."
71
66
exit 1
72
67
}
73
68
74
69
while getopts d:ipc arg ; do
75
70
case " ${arg} " in
76
71
d) DST=" ${OPTARG} " ;;
77
72
i) CHECK=0;;
78
- p) PUSH_DOCKER_IMAGE=1;;
79
73
c) BUILD_FOR_CENTOS=1;;
80
74
* ) usage;;
81
75
esac
@@ -190,11 +184,6 @@ trap 'rm -rf ${TMP_WASM}' EXIT
190
184
make build_wasm
191
185
if [ -n " ${DST} " ]; then
192
186
for extension in " ${extensions[@]} " ; do
193
- if [ " ${PUSH_DOCKER_IMAGE} " -eq 1 ]; then
194
- echo " Pushing Wasm OCI image for ${extension} "
195
- # shellcheck disable=SC2086
196
- bazel run ${BAZEL_BUILD_ARGS} ${CONFIG_PARAMS} //extensions:push_wasm_image_${extension}
197
- fi
198
187
# Rename the plugin file and generate sha256 for it
199
188
WASM_NAME=" ${extension} -${SHA} .wasm"
200
189
WASM_COMPILED_NAME=" ${extension} -${SHA} .compiled.wasm"
0 commit comments