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