Skip to content

Commit

Permalink
[e2e] Keep ubuntu:20.04 image
Browse files Browse the repository at this point in the history
Fix issue caused by antrea-io#4459
Some images rely on ubuntu:20.04, keep the manual pulling step in e2e.

Signed-off-by: gran <gran@vmware.com>
  • Loading branch information
gran-vmv committed Dec 19, 2022
1 parent 113fe92 commit 4415a03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/build-antrea-linux-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,12 @@ echo "BUILD_TAG: $BUILD_TAG"
# new base images in the build chain.
if $PULL; then
if [[ ${DOCKER_REGISTRY} == "" ]]; then
docker pull $PLATFORM_ARG ubuntu:20.04
docker pull $PLATFORM_ARG ubuntu:22.04
docker pull $PLATFORM_ARG golang:$GO_VERSION
else
docker pull ${DOCKER_REGISTRY}/antrea/ubuntu:20.04
docker tag ${DOCKER_REGISTRY}/antrea/ubuntu:20.04 ubuntu:20.04
docker pull ${DOCKER_REGISTRY}/antrea/ubuntu:22.04
docker tag ${DOCKER_REGISTRY}/antrea/ubuntu:22.04 ubuntu:22.04
docker pull ${DOCKER_REGISTRY}/antrea/golang:$GO_VERSION
Expand Down

0 comments on commit 4415a03

Please sign in to comment.