-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add parameter for optional DB init scripts. #2
base: master
Are you sure you want to change the base?
Conversation
hi @danielweller-swp, It costs me a whole damn day to figure it out :( |
Thanks, you are completely correct - this is not working as intended. Sorry for the inconvenience it caused! I'll try to figure out whether this can be handled in a generic way and update this PR. |
- The `postgres init scripts` parameter now actually works. - A test was added.
@hank-cp: Thanks again for your input. I fixed the action to correctly compute the path and added a test for the action (in form of a Github Action workflow). |
@danielweller-swp Cool and THX~ Not sure when this PR will be accepted, but I actually would like to add some more changes upon your PR to support inject According to postgres docker's doc
could do the job. |
as repo maintainer is not here can we maintain another repo? |
@shirshak55: I've created a fork on my account, I guess I can maintain this for a while. @hank-cp: Feel free to submit your PR there. |
The PostgreSQL docker image allows mounting a volume containing SQL scripts that are executed when the docker image is started. This PR exposes this functionality in the Github Action.