Commit ff6f22f
fix(deploy): use 'wrangler containers push' instead of docker login
Cloudflare's container registry rejects direct 'docker login registry.cloudflare.com'
with 401 (the registry uses temporary credentials issued via the Cloudflare API,
not long-lived API tokens). The documented push path is 'wrangler containers push'
which obtains a short-lived token and pushes via the local docker daemon.
Change:
- Build with 'load: true' (image lands in local docker daemon)
- Then 'npx wrangler@4 containers push <tag>' authenticates with
CLOUDFLARE_API_TOKEN env and pushes from the daemon to the registry.
Same change applied to both cloud and objectos jobs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 51e102c commit ff6f22f
1 file changed
Lines changed: 23 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 128 | + | |
136 | 129 | | |
137 | 130 | | |
138 | 131 | | |
139 | 132 | | |
140 | 133 | | |
141 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
142 | 138 | | |
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
146 | 142 | | |
147 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
210 | 214 | | |
211 | 215 | | |
212 | 216 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 217 | + | |
221 | 218 | | |
222 | 219 | | |
223 | 220 | | |
224 | 221 | | |
225 | 222 | | |
226 | | - | |
| 223 | + | |
227 | 224 | | |
228 | 225 | | |
229 | 226 | | |
230 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
231 | 236 | | |
232 | 237 | | |
233 | 238 | | |
| |||
0 commit comments