domdomegg / aws-ses-v2-local

☁📬 A local version of Amazon Simple Email Service (AWS SES) supporting the V1 and V2 API
https://www.npmjs.com/package/aws-ses-v2-local
MIT License
49 stars 10 forks source link

Upload Docker Image to container registry #26

Open DAcodedBEAT opened 3 weeks ago

DAcodedBEAT commented 3 weeks ago

Description

It would be great if the aws-ses-v2-local Docker image could be built and uploaded to DockerHub via GitHub Actions. This would make it much easier to integrate the image into various workflows without the need to build it manually each time.

Benefits

Considerations

Should the Docker image be built and pushed to DockerHub with every commit, only on new releases, or both? (Implementing both could provide the latest images for project-development purposes and stable images for general use.)

Thank you for considering this!

domdomegg commented 3 weeks ago

Thanks! Would be happy to accept a contribution for this. I think I'd prefer if it could be integrated into the package.json scripts as much as possible (rather than in GitHub Actions directly - so GitHub Actions just provides creds and calls something like npm run publish:docker).

I think the Dockerfile itself might be tidied up a little to comply with best practices for Dockerised node apps too (in terms of security, image size). But this can be done separately.