Skip to content

Commit

Permalink
Add var to force docker save (envoyproxy#30502)
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Mattix II <[email protected]>
  • Loading branch information
keithmattix authored Oct 26, 2023
1 parent 487e252 commit 6cf211b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ case $CI_TARGET in
fi
PLATFORMS="$(IFS=, ; echo "${_PLATFORMS[*]}")"
export DOCKER_PLATFORM="$PLATFORMS"
if [[ -z "${DOCKERHUB_PASSWORD}" && "${#_PLATFORMS[@]}" -eq 1 ]]; then
if [[ -z "${DOCKERHUB_PASSWORD}" && "${#_PLATFORMS[@]}" -eq 1 && -z $ENVOY_DOCKER_SAVE_IMAGE ]]; then
# if you are not pushing the images and there is only one platform
# then load to Docker (ie local build)
export DOCKER_LOAD_IMAGES=1
Expand Down
1 change: 1 addition & 0 deletions ci/run_envoy_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ docker run --rm \
-e CI_TARGET_BRANCH \
-e DOCKERHUB_USERNAME \
-e DOCKERHUB_PASSWORD \
-e ENVOY_DOCKER_SAVE_IMAGE \
-e ENVOY_STDLIB \
-e BUILD_REASON \
-e BAZEL_REMOTE_INSTANCE \
Expand Down

0 comments on commit 6cf211b

Please sign in to comment.