This is a template for deploying a Docker container (on-push) to Github's package registry using Github Actions.
Github Actions is a continuous integration (CI) service built into Github that allows you many other capabilities, similar to other CI services like Travis, Wercker, etc.
Here are slides I created to show how to configure a repository like this one to deploy your container.