Skip to content

feat(action): add Github action to build and push image to registry #1

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

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

matheoleger
Copy link

Summary

  • Disabled others workflows
  • Added docker-build-push-ghcr.yaml to workflows
    • ...
    • Update submodule
    • Build image
    • Test runtime
    • Push image
  • Modified the Dockerfile
    • Removed DATABASE_URL because now we don't use the database to build
    • Added NEXT_PUBLIC_WEBAPP_URL because it's important (if we use another url than localhost:3000)
    • Modified the healthcheck

We set NEXT...URL to localhost:3004, the webapp run on localhost:3000 (weird?) but there is a lot of things who use localhost:3004. SO we need to bind the Docker port to use localhost:3004 to access to the app
we need to modify Test runtime because of non access to the domain name here. So I use localhost:3000 instead just for the test
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.

1 participant