Commit 324b052b authored by Viet-Hung Nhu's avatar Viet-Hung Nhu

[registry] Update image registry

parent 28dfdb39251e
Pipeline #47983 passed with stages
in 5 minutes and 54 seconds
REGISTRY?=r.ext.logilab.fr/pyvoter/pyvoter
VERSION?=$(shell hg log -r . -T "{sub(':.*', '', '{latesttag}')}{sub('^-0-.*', '', '-{latesttagdistance}-hg{shortest(node, 7)}')}\n")
IMAGE?=$(REGISTRY):$(VERSION)
IMAGE?=$(CI_REGISTRY_IMAGE):$(VERSION)
NAMESPACE=pyvoter
SOURCES=$(wildcard appjs/*.ts*)
......@@ -24,8 +23,8 @@ run:
push:
docker push $(IMAGE)
docker tag $(IMAGE) $(REGISTRY):latest
docker push $(REGISTRY):latest
docker tag $(IMAGE) $(CI_REGISTRY_IMAGE):latest
docker push $(CI_REGISTRY_IMAGE):latest
deploy:
kubectl -n $(NAMESPACE) rollout restart deployment/pyvoter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment