Commit fb8c3f8
committed
fix(ci): wire GITHUB_TOKEN into docker image builds
tools/install/_common.sh calls api.github.com unauthenticated to
resolve each tool's latest-release asset URL. build-image.yaml and
build-image-test.yaml passed GITHUB_TOKEN via buildx `secrets:`,
but no Dockerfile RUN mounts that secret - dead config since #496,
never reconnected when #947 added ARG-based auth to the Dockerfile.
Result: every docker buildx build (PR test, nightly, release) hits
~10 unauthenticated GH API calls x up to 2 platforms. GitHub's
60/hr unauthenticated limit is shared across all Actions runners,
so any call landing on the limit gets no asset match -> curl gets
an empty URL -> exit 3. Observed here as tflint, but any GH-hosted
tool install can trip it.
Same class of bug as 65fe9e4 (reusable-tox.yml), different surface.
Assisted-by: Sisyphus:claude-sonnet-5 opencode1 parent 277e7cd commit fb8c3f8
2 files changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
77 | | - | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
0 commit comments