Cleanup of e2e docker images (#4962)
This commit is contained in:
parent
a8a827a806
commit
1443ebf5a8
16 changed files with 79 additions and 190 deletions
|
|
@ -38,7 +38,10 @@ if [ ! -f "${ENV_FILE}" ]; then
|
|||
fi
|
||||
|
||||
# build local terraform image to build nginx
|
||||
docker build -t build-ingress-controller-terraform $DIR/images/ingress-controller
|
||||
docker buildx build \
|
||||
--load \
|
||||
--platform linux/amd64 \
|
||||
--tag build-ingress-controller-terraform $DIR/images/ingress-controller
|
||||
|
||||
# build nginx and publish docker images to quay.io.
|
||||
# this can take up to two hours.
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ fi
|
|||
# build local terraform image to build nginx
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
docker buildx build \
|
||||
--load \
|
||||
--no-cache \
|
||||
--platform linux/amd64 \
|
||||
--tag build-nginx-terraform $DIR/images/nginx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue