Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up continuous deployment of a production docker container #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcelklehr
Copy link
Member

@marcelklehr marcelklehr commented May 10, 2022

As the backend continues to evolve, it would be cool to have a CD pipeline for the prod container that is used in the end-to-end tests.

This PR adds a GitHub Action that automatically builds and pushes the prod container whenever commits are pushed to master.

NB: I'm not sure the Dockerfile is correct as magpie-docker has been failing for a while with your newest changes (likely the esbuild change)

@x-ji Feel free to fix as you see fit

@x-ji
Copy link
Member

x-ji commented May 11, 2022

Yeah esbuild is a bundler written in Go that doesn't require Node.js to be installed. Probably the command in the Dockerfile to compile the assets will have to change though to use it. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants