Add Helm image tag to CI

This commit is contained in:
Vitaliy Filippov 2022-02-10 15:29:56 +03:00
parent cb4717e4c8
commit 6331bb840b

View file

@ -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