Commit e854d37
Make Docker Hub publish best-effort in Release workflow
The DOCKERHUB_USERNAME / DOCKERHUB_TOKEN secrets aren't configured in
the `release` environment, so the Login step has been failing on every
release attempt since e0415b5 added the dual-publish (3 failed releases
in a row). That blocked the rest of the pipeline — git tag, MCP Registry
publish, GitHub Release — all of which are independent of Docker Hub.
Split the build into a primary GHCR push (always runs) and a secondary
Docker Hub push that runs only when login succeeded. Add continue-on-error
to the login itself so a missing secret no longer aborts the job.
Configure DOCKERHUB_USERNAME / DOCKERHUB_TOKEN in the `release`
environment to re-enable Docker Hub distribution.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 41efd19 commit e854d37
1 file changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
| 157 | + | |
| 158 | + | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
156 | 163 | | |
157 | | - | |
| 164 | + | |
158 | 165 | | |
159 | 166 | | |
160 | 167 | | |
| |||
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
168 | 189 | | |
169 | 190 | | |
170 | 191 | | |
171 | 192 | | |
172 | 193 | | |
173 | | - | |
174 | 194 | | |
175 | 195 | | |
176 | 196 | | |
| |||
0 commit comments