ReiSchneider
ReiSchneider
RRailway
Created by ReiSchneider on 3/11/2024 in #✋|help
Does `railway up` rely on gitignore?
So I have a workflow where in github actions would copy a config file from the config/ folder to the root directory before calling on railway up for deployment Originally, this config file is stored in the root dir and not declared in the gitignore. Deployment works fine as the application was able to read the config file Then I introduced the copying flow, deleted original config file from the root, added the config.yml in the gitignore, deployed but failed as the application cannot find the file I then reverted the changes. Pushed the config.yml back to the root, but still introduced the copying flow, removed the config.yml from the gitignore, and alas the deployment worked fine. Then I redefined the config.yml back to the gitignore and again the deploment failed as the app cannot read the specified file I also made sure in the workflow that the file is being copied propery. What seems to be the reason here? Project ID: 4ba8576b-8137-47c9-8fb8-030cbb223977
4 replies
RRailway
Created by ReiSchneider on 3/10/2024 in #✋|help
Redeploying docker image via Github Actions
I've read through this existing postbut unfortunately, the answer isnt what I was expecting So similar to the post, what Im planning to do is 1. Use Github Workflow to build my project and create a docker image and store it in the github packages with the :latest tag 2. In an existing service that already pre-pulled the docker image, I want to redeploy this service via github actions to re-pull the new :latest image and redeploy the service Is there a way to do this? Project ID: 4ba8576b-8137-47c9-8fb8-030cbb223977
4 replies
RRailway
Created by ReiSchneider on 3/9/2024 in #✋|help
Deploying a docker container from ghcr
I'm migrating a containerized application currently deployed in a private server to railway via deployment of docker image in Railway. The deployment is failing and there are no logs currently being shown
7 replies