This message was deleted.
# ask-for-help
s
This message was deleted.
a
Hi Hoang, you will have to run
bentoml  build
and containerize again to package your new model version. This process shouldn’t take a long time second time around since docker should already have your previous build step cache
h
@Aaron Pham but how can i do it automatically?
a
Hi there, one solution is to create a CI pipeline to train your model and package it with bentoml.
how can i do it automatically?
can you clarify what do you mean by this? I’m not sure if I understand your question fully
h
@Aaron Pham Currently I am doing automatic weekly model training and build using bentoml. However, I don't know how to update the API continuously. Because every time build docker image, it will output :random tag
a
update the API continuously
Do you mean by updating the service definition? or updating the docker image tag?
h
Copy code
I am building API by building docker images and running it. I want to automate this (when there is a new model and build a new docker image, run again with the newly created image). Is there any way for this?