Weekend Project: Setup Github Container Registry and Github Actions for CI/CD with DigitalOcean droplets
For this weekend’s fun project, let’s setup Github Actions and Github Container Registry so we can do CI/CD with our NodeJS project hosted on DigitalOcean. The goal is to have Github Actions create a new Docker image when we push to master, deploy the image to ghcr.io, ssh to the server, download the image and build the container. Create the app/repo Let’s create a new public repo on Github named nodejs-playground, add a simple app to this repo: ...