Fix custom-error-pages image publication script (#2289)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-04-03 15:09:34 -03:00 committed by GitHub
parent 83974c32ac
commit e2937cc8f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
all: push
all: all-container
BUILDTAGS=
@ -6,11 +6,11 @@ BUILDTAGS=
TAG?=0.1
REGISTRY?=quay.io/kubernetes-ingress-controller
GOOS?=linux
DOCKER?=gcloud docker --
DOCKER?=docker
SED_I?=sed -i
GOHOSTOS ?= $(shell go env GOHOSTOS)
PKG=k8s.io/ingress/images/custom-error-pages
PKG=k8s.io/ingress-nginx/images/custom-error-pages
ifeq ($(GOHOSTOS),darwin)
SED_I=sed -i ''
@ -52,8 +52,6 @@ TEMP_DIR := $(shell mktemp -d)
DOCKERFILE := $(TEMP_DIR)/rootfs/Dockerfile
all: all-container
sub-container-%:
$(MAKE) ARCH=$* build container