For custom app, fork GitHub - castlecraft/custom_containers. This is by far the easiest way i know to build custom image
change apps.json and include your app.
Change the build.env to your need at least the PROJECT_NAMESPACE
version.txt optional
Finally commit and watch for actions to complete.