Rasa X Integrated Version Control for Action Server

Currently I have my actions.py in my actions folder in my Rasa Open Source Project which is connected via Git with Rasa X for integrated version control. Whenever I make changes to the actions.py I build a new Docker Image on my local machine and push it to Docker Hub. Afterwards I restart my Docker Containers on my server so the latest Docker Image for action server is pulled. Is this the right way to do or is there some best practice to even maybe leverage IVC for the action server?