feat(ci): publish rocks to github container registry
Metadata
Current evaluation
Merged. Added a CI job to publish rocks to the GitHub Container Registry on pushes to specific core branches. Approved by two reviewers, with changes limited to a single file.
Suggested action: —
No scores available.
Issue body
This commit adds a new job, `publish-rock`, that pushes a rock to GCR when a commit is pushed to one of the special branches (core22-7, core22-8, etc). It makes use of the support that Github itself has for pushing packages, and the images show up at https://github.com/canonical/snapcraft-rocks/pkgs/container/snapcraft
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Added a CI job to publish rocks to the GitHub Container Registry on pushes to specific core branches. Approved by two reviewers, with changes limited to a single file. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a CI update adding a publish-rock job that pushes rocks to the GitHub Container Registry on designated branch pushes. Published images are now available at the canonical/snapcraft-rocks package URL. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #72 feat(ci): publish as a multi-arch rock | snapcraft-rocks | merged | Merged after approval and passing CI checks. Enables publishing the core24-8 branch as multi-arch rocks as part of SNAPCRAFT-1156. A fix from #73 was cherry-picked for testing prior to merge. | |
| #32 docs: update README for published rocks | snapcraft-rocks | merged | Merged documentation update reflecting that rocks are now published to GCR, eliminating the need for local builds. Approved by two reviewers with zero comments. Modified one file (+46/-19 lines). | |
| #5 [Feature Request] Publish rock to Github's Container Registry | craft-actions | open | Feature request for a rockcraft-publish-ghcr GitHub Action to push rock artifacts to ghcr.io. Acknowledged by a maintainer in Feb 2023 but deferred pending upstream rockcraft upload support; no action was ever created. Inactive for ~3.5 years. |