I work in JS, React and a postgres DB, I decided to go with a bit of a mix. I was already using Github as my repo and local containers for my apps. But I was building my containers locally and deploying via scripts.
I recently adopted using actions with self-hosted runners to create my images. For dev it runs on the self-hosted and drops the image locally. For prod, it’s run on the self-hosted and uploaded to my image registry(docker hub). I am working on terraform now to watch for the new image and create a new container with it.
I am also using GitHub secrets for my environment variables.
I work in JS, React and a postgres DB, I decided to go with a bit of a mix. I was already using Github as my repo and local containers for my apps. But I was building my containers locally and deploying via scripts.
I recently adopted using actions with self-hosted runners to create my images. For dev it runs on the self-hosted and drops the image locally. For prod, it’s run on the self-hosted and uploaded to my image registry(docker hub). I am working on terraform now to watch for the new image and create a new container with it.
I am also using GitHub secrets for my environment variables.