all DevOps news
Pass database url in Github Actions
I have Next.js application that connects to database during Docker image build to fetch data and statically prerender pages.
How am I supposed to pass database url as build argument as I intend to use Github Actions to build Docker image? For production image I would probably have to pass url of some Postgres in the cloud, but for test I need to pass Sqlite db file locally.
What is the usual way of handling both of these scenarios inside Github Actions.submitted by /u/voja-kostunica