Skip to content

fix(ci): remove --src-no-creds from skopeo sync to fix timeout#4183

Merged
shubham-sumo merged 1 commit intomainfrom
fix/sync-repo-timeout
May 4, 2026
Merged

fix(ci): remove --src-no-creds from skopeo sync to fix timeout#4183
shubham-sumo merged 1 commit intomainfrom
fix/sync-repo-timeout

Conversation

@shubham-sumo
Copy link
Copy Markdown
Contributor

@shubham-sumo shubham-sumo commented May 3, 2026

Summary

The sync-repository.sh script was failing with timeout errors during image syncing. The root cause is the --src-no-creds flag passed to skopeo sync, which forces unauthenticated access to source registries. Many public registries (e.g., Docker Hub, ECR Public) aggressively rate-limit anonymous pulls, causing repeated retries and eventual timeouts.

  • Remove the --src-no-creds flag so skopeo can use available credentials from the Docker config mounted at /tmp/auth.json
  • Authenticated pulls have significantly higher rate limits, avoiding the timeout failures

Test plan

  • Verify the sync-repositories CI workflow completes successfully without timeout errors
  • Confirm images are synced correctly to the destination registry

Sample Run: https://github.com/SumoLogic/sumologic-kubernetes-collection/actions/runs/25100478181

@shubham-sumo shubham-sumo marked this pull request as ready for review May 4, 2026 05:20
@shubham-sumo shubham-sumo requested a review from a team as a code owner May 4, 2026 05:20
@shubham-sumo shubham-sumo merged commit 232ddf2 into main May 4, 2026
107 of 109 checks passed
@shubham-sumo shubham-sumo deleted the fix/sync-repo-timeout branch May 4, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants