Add Helm image tag to CI
This commit is contained in:
parent
cb4717e4c8
commit
6331bb840b
1 changed files with 4 additions and 0 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue