Commit a994aba
committed
fix(release): Install git-cliff directly to avoid Docker build failure
Fixed Docker build failure:
Problem:
- orhun/git-cliff-action@v2 uses Docker container
- Docker build failed on Ubuntu runner
- Error: 'Build container for action use: orhun/git-cliff-action/v2/Dockerfile'
Solution:
- Replaced git-cliff-action with direct installation
- Download git-cliff binary from GitHub releases
- Install to /usr/local/bin/
- Run directly without Docker container
Changes:
1. Added 'Install git-cliff' step:
- Downloads git-cliff-linux-amd64.tar.gz
- Extracts and installs to /usr/local/bin/
- Verifies installation with --version flag
2. Updated 'Generate changelog' step:
- Now runs git-cliff directly
- Uses same cliff.toml configuration
- Generates CHANGELOG.md file
Benefits:
- No Docker container needed
- Faster execution (no Docker build time)
- More reliable (no platform compatibility issues)
- Simpler workflow (direct binary execution)
This resolves environment issue causing Docker build failures.1 parent f5bd47d commit a994aba
1 file changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
| |||
0 commit comments