Cleanup of docker images

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-03 15:33:11 -04:00
parent d7dc7be276
commit dc20551288
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
20 changed files with 48 additions and 45 deletions

View file

@ -1,19 +0,0 @@
TAG ?=v$(shell date +%m%d%Y)-$(shell git rev-parse --short HEAD)
REGISTRY ?= quay.io/kubernetes-ingress-controller
DOCKER ?= docker
IMAGE = $(REGISTRY)/e2e-prow
all: docker-build docker-push
docker-build:
$(DOCKER) build \
--pull \
--build-arg K8S_RELEASE=v1.15.0 \
--build-arg ETCD_VERSION=v3.3.12 \
-t $(IMAGE):$(TAG) .
docker-push:
$(DOCKER) push $(IMAGE):$(TAG)
$(DOCKER) tag $(IMAGE):$(TAG) $(IMAGE):latest
$(DOCKER) push $(IMAGE):latest