I'm trying to create a github action that triggers once a new registry_package (trying to target a specific one) is uploaded to the org. I've gone through all the documentation I can find with various versions and iterations of this, but none of them work for me. So far, this is the only format I've found that doesn't just bomb out immediately (as well as trigger immediately)
name: Release New Image
on:
registry_package:
action:
- updated
package_name:
- 'testpackage'
but when I ran the test package through its build paces and it uploaded to the package repo (I'm dealing with docker images so its uploading to ghcr.io/ORGNAME/testpackage:latest) it didn't trigger. The documentation here says that it needs to be in the default branch, so I tried that as well but it still isn't triggering. Has anyone gotten this trigger working that can point out what I'm doing wrong?