Modernize development/deployment of containerized workloads

I have a raspberry pi running docker and use Visual Studio Code for the creation of configuration files.

I would like to write code, upload to github and deploy to my raspberry. But I miss some information and looking for how to achieve this. any (link to) usefull information would be great.