Improve buildx configuration
This commit is contained in:
parent
d3832915e1
commit
020d8729d4
5 changed files with 85 additions and 40 deletions
|
|
@ -75,16 +75,7 @@ cd ingress-nginx
|
|||
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
|
||||
make init-docker-buildx
|
||||
docker buildx use ingress-nginx --default --global
|
||||
make ensure-buildx
|
||||
|
||||
# disable docker in docker tasks
|
||||
export DIND_TASKS=0
|
||||
|
||||
echo "Building NGINX image..."
|
||||
ARCH=amd64 make build image push
|
||||
ARCH=arm make build image push
|
||||
ARCH=arm64 make build image push
|
||||
|
||||
echo "Creating multi-arch images..."
|
||||
make push-manifest
|
||||
echo "Building ingress controller image..."
|
||||
make release
|
||||
|
|
|
|||
|
|
@ -67,8 +67,7 @@ cd ingress-nginx/images/nginx
|
|||
|
||||
export TAG=$(git rev-parse HEAD)
|
||||
|
||||
make init-docker-buildx
|
||||
docker buildx use ingress-nginx --default --global
|
||||
make ensure-buildx
|
||||
|
||||
echo "Building NGINX images..."
|
||||
make image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue