ci: remove database password
This commit is contained in:
@@ -36,7 +36,6 @@ jobs:
|
||||
env:
|
||||
POSTGRES_DB: postgres
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password123
|
||||
# WHY?: act runner is not stateless, so after the initial postgres setup it causes authentication errors with password.
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
ports:
|
||||
@@ -66,7 +65,7 @@ jobs:
|
||||
|
||||
export DB_NAME="postgres"
|
||||
export DB_USER="postgres"
|
||||
export DB_PASSWORD="password123"
|
||||
export DB_PASSWORD=""
|
||||
|
||||
if [ "$GITEA_ACTIONS" = "true" ]; then
|
||||
export DB_HOST="postgres"
|
||||
|
||||
Reference in New Issue
Block a user