Skip to content

Fix: make Docker Hub README sync non-fatal and run it after the version report - #7

Merged
gambe94 merged 1 commit into
mainfrom
fix/nonfatal-readme-sync
Jul 12, 2026
Merged

Fix: make Docker Hub README sync non-fatal and run it after the version report#7
gambe94 merged 1 commit into
mainfrom
fix/nonfatal-readme-sync

Conversation

@gambe94

@gambe94 gambe94 commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

During the sf-docker-images v1.7.0 release, all three push jobs failed at Sync README to Docker Hub — the description PATCH returned 403 Forbidden (Docker Hub requires a token with Read/Write/Delete scope, or the account password, for description updates; the push-scoped token works for docker push but not for this endpoint). Because the step sat before the version-report steps, the report artifacts were skipped and the caller's release job never ran — even though the images were pushed and cosign-signed successfully.

Changes:

  • continue-on-error: true on the README-sync step — a cosmetic sync can never fail the release path again
  • Step moved after the version report, so report artifacts upload regardless
  • Comment documents the Docker Hub token-scope requirement

Verification

  • actionlint clean
  • v1.7.0 aftermath handled manually: images + signatures verified on Docker Hub (cosign verify ×3 passes), GitHub Release created with the version tables generated from the published images

Note: fixing the sync itself needs a new Docker Hub token with Read/Write/Delete scope in DOCKERHUB_TOKEN — owner action.

🤖 Generated with Claude Code

…on report

In the v1.7.0 sf-docker-images release the description PATCH returned 403
Forbidden (push-scoped tokens cannot update repo descriptions — Docker Hub
requires Read/Write/Delete scope or the account password). The failing step
sat before the version-report steps, so all three push jobs failed after a
successful push+sign and the caller's release job was skipped.

The sync step now runs last with continue-on-error: true — cosmetic sync
issues can no longer block the release path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gambe94
gambe94 merged commit 319fbb1 into main Jul 12, 2026
1 check passed
@gambe94
gambe94 deleted the fix/nonfatal-readme-sync branch July 12, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant