fix: hardcode GITEA_DB_PASSWORD since Gitea Actions doesn't resolve inline env var references

The ${GITEA_DB_PASSWORD} syntax in the workflow YAML expands to empty
because Gitea Actions doesn't pass workflow-level env vars to themselves.
Using the actual password value directly.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-05-26 19:54:16 +08:00
parent 144e713923
commit f15c61d93e
+1 -1
View File
@@ -175,7 +175,7 @@ jobs:
needs: [backend-tests, frontend-tests] needs: [backend-tests, frontend-tests]
env: env:
SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum
GITEA_DB_PASSWORD: ${GITEA_DB_PASSWORD} GITEA_DB_PASSWORD: nyM3P4v1aYAsT7zfUtdguImNVHgFltCKCY/OjzWZVRE=
container: container:
network: gitea_gitea network: gitea_gitea
options: --add-host=host.docker.internal:host-gateway --dns 192.168.31.1 --dns 8.8.8.8 options: --add-host=host.docker.internal:host-gateway --dns 192.168.31.1 --dns 8.8.8.8