Commit b54c29fd authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

use cat to get postgres password, possibliy hitting the one gitlab bug

parent b9db8ff2
Pipeline #13204 passed with stages
in 4 minutes and 11 seconds
......@@ -102,7 +102,7 @@ deploy application:
- docker build -t $DOORCODE_IMAGE_NAME -f prod.Dockerfile .
- docker build -t $NGINX_IMAGE_NAME -f nginx.Dockerfile .
- docker-compose -f down
- sed -i "s/\(^DB_PASSWORD=\).*/\1$(< POSTGRES_PASSWORD)/" $PROJ_DIR/.env
- sed -i "s/\(^DB_PASSWORD=\).*/\1$(cat POSTGRES_PASSWORD)/" $PROJ_DIR/.env
- docker-compose -f up -d
# Give it some time to spin up...
- sleep 10
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment