Commit 87b0527
committed
fix: add GIT_AUTH_TOKEN secret for docker build git clone [skip-version]
- Docker build fails with exit code 128 on git clone because the build
context has no GitHub credentials
- BuildKit has pre-defined GIT_AUTH_TOKEN secret for git authentication
- Add secrets: GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }} to both
build-push-action steps (no Dockerfile changes needed)1 parent c9c6916 commit 87b0527
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| |||
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| 320 | + | |
| 321 | + | |
318 | 322 | | |
319 | 323 | | |
320 | 324 | | |
| |||
0 commit comments