Fix makefile task names

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-05-31 12:53:57 -04:00
parent d250b97b43
commit 7bd62f5c0a
4 changed files with 7 additions and 7 deletions

View file

@ -57,8 +57,8 @@ if [[ ${KUBE_CLIENT_VERSION} -lt 14 ]]; then
exit 1
fi
echo "[dev-env] building container"
make build container
echo "[dev-env] building image"
make build image
docker tag "${REGISTRY}/nginx-ingress-controller-${ARCH}:${TAG}" "${DEV_IMAGE}"
export K8S_VERSION=${K8S_VERSION:-v1.18.0@sha256:0e20578828edd939d25eb98496a685c76c98d54084932f76069f886ec315d694}

View file

@ -71,4 +71,4 @@ make init-docker-buildx
docker buildx use ingress-nginx --default --global
echo "Building NGINX images..."
make container
make image

View file

@ -76,7 +76,7 @@ if [[ "${USE_EXISTING_IMAGE}" == "true" ]]; then
docker pull "${IMAGE}-${ARCH}:${TAG}"
else
echo -e "${BGREEN}Building ingress controller image${NC}"
make -C "${KUBE_ROOT}" build "sub-container-${ARCH}"
make -C "${KUBE_ROOT}" build "sub-image-${ARCH}"
fi
CONTEXT=$(kubectl config current-context)

View file

@ -1,5 +1,5 @@
.PHONY: all
all: container
all: image
DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
@ -12,8 +12,8 @@ ifdef DIND_TASKS
USE_DOCKER=false
endif
.PHONY: container
container:
.PHONY: image
image:
ifeq ($(USE_DOCKER), true)
@$(DIR)/../../build/run-in-docker.sh make e2e-test-binary
else