Web: https://www.reddit.com/r/devops/comments/s0guk9/pass_database_url_in_github_actions/

Jan. 10, 2022, 10:19 a.m. | /u/voja-kostunica

Everything DevOps reddit.com

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
[link] [comments]

database devops github github actions

Azure Cloud Engineer (Remote - Canada)

@ Rackspace | Canada - Toronto

Platform Engineer

@ Cyted | Cambridge, United Kingdom

Linux-/DevOps Engineer

@ Solvinity | Assen, Netherlands

Azure Cloud Architect (Remote - Canada)

@ Rackspace | Canada - Remote

Azure Senior Cloud Engineer (Remote)

@ Rackspace | United States - Remote

AWS Cloud Architect (Remote)

@ Rackspace | United States - San Antonio