https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images this is how you do it