Package/container linking via label not working

According to the Web UI and the documentation, you can either link a container manually on the web (which works), or you can link it by setting the org.opencontainers.image.source label on the pushed container. I have tried with various containers and repositories, but have been unable to get it to link using the label.

At first I thought it might be because my Dockerfile was named Containerfile (the new more generic standard) and that maybe GitHub was parsing Dockerfiles for some reason instead of reading the labels directly from the container image. I tried creating a new test repository using Dockerfile instead of Containerfile but it still didn’t work.

I also tried rebuilding and pushing a new version of the container after I had made sure I had created/pushed to the git repository. That should work if GitHub was only attempting to link containers to repos when the container was pushed, but not if the repo was created or pushed to after the container was already pushed. That also did not work.

I am not sure if I am doing something wrong, or if GitHub itself is buggy.

Test container: Package test-ctr · GitHub
Test repo: GitHub - computator/test-ctr