feat: log schwab-scraper and mcp-server commit SHAs at container startup
Some checks failed
Build and Push Docker Image / build (push) Failing after 39s

Bake commit SHAs into the Docker image via CI and log them on server
startup so it's easy to verify which version of schwab-scraper is running.
This commit is contained in:
2026-05-04 14:31:01 +00:00
parent 8c196b7f65
commit 4982b7d09f
3 changed files with 40 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ jobs:
git clone --depth=1 --branch main \
"https://x-access-token:${CLONE_TOKEN}@gitea.ext.ben.io/b3nw/schwab-scraper.git" \
vendor/schwab-scraper
cd vendor/schwab-scraper && git rev-parse HEAD > ../schwab-scraper-commit.txt
echo "${{ gitea.sha }}" > vendor/mcp-server-commit.txt
- name: Login to Gitea Container Registry
uses: docker/login-action@v2