From 6331bb840be709271084491c7fa8e1ca64218fc8 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Thu, 10 Feb 2022 15:29:56 +0300 Subject: [PATCH] Add Helm image tag to CI --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index b73663c..f4cf206 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ REGISTRY_NAME=cr.yandex/crp9ftr22d26age3hulg IMAGE_NAME=csi-s3 +IMAGE_NAME2=yandex-cloud/csi-s3/csi-s3-driver VERSION ?= 0.30.7 IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(VERSION) TEST_IMAGE_TAG=$(IMAGE_NAME):test @@ -28,8 +29,11 @@ container: docker build -t $(IMAGE_TAG) -f cmd/s3driver/Dockerfile . push: container docker tag $(IMAGE_TAG) $(REGISTRY_NAME)/$(IMAGE_NAME):latest + docker tag $(IMAGE_TAG) $(REGISTRY_NAME)/$(IMAGE_NAME2):$(VERSION) + docker tag $(IMAGE_TAG) $(REGISTRY_NAME)/$(IMAGE_NAME2):latest docker push $(IMAGE_TAG) docker push $(REGISTRY_NAME)/$(IMAGE_NAME) + docker push $(REGISTRY_NAME)/$(IMAGE_NAME2) clean: go clean -r -x -rm -rf _output