Skip to content

Conversation

@jas88
Copy link
Owner

@jas88 jas88 commented Dec 8, 2025

Summary

  • Only push containers to GHCR when building from a tag, avoiding permission errors on Dependabot and regular branch builds
  • Upgrade actions/checkout from v4 to v6

Test plan

High-level PR Summary

This PR modifies the Docker push workflow to only push containers to the GitHub Container Registry when building from tagged releases, preventing permission errors on Dependabot and regular branch builds. Additionally, it upgrades the actions/checkout action from v4 to v6.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 .github/workflows/dockerpush.yml

Need help? Join our Discord


Summary by cubic

Push to GHCR only on tagged builds to prevent permission errors on Dependabot and branch builds. Also upgrade actions/checkout from v4 to v6.

Written for commit 0a6979b. Summary will update automatically on new commits.

Only push containers to GHCR when building from a tag, avoiding
permission errors on Dependabot and regular branch builds.
Copy link

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by RecurseML

🔍 Review performed on f59b6de..0a6979b

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (1)

.github/workflows/dockerpush.yml

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@jas88 jas88 merged commit 4c2827d into main Dec 8, 2025
4 checks passed
@jas88 jas88 deleted the fix/skip-push-on-non-tagged branch December 8, 2025 02:27
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.

2 participants