Cleanup docker build (#5083)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-15 09:27:41 -03:00 committed by GitHub
parent eedcdcdbf6
commit eed9e0d57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 13 deletions

View file

@ -13,7 +13,7 @@
# limitations under the License.
# 0.0.0 shouldn't clobber any released builds
TAG ?= 0.97
TAG ?= 0.98
REGISTRY ?= quay.io/kubernetes-ingress-controller
IMGNAME = nginx
@ -44,11 +44,6 @@ container:
--platform $(PLATFORM) \
--tag $(IMAGE)-$(PLATFORM):$(TAG) rootfs;)
ifeq ($(ARCH), amd64)
# This is for to maintain the backward compatibility
docker tag $(MULTI_ARCH_IMG):$(TAG) $(IMAGE):$(TAG)
endif
.PHONY: push
push: container
$(foreach PLATFORM,$(PLATFORMS), \