Publishing docker image to github registry

What is ‘OWNER’ in

$ docker push ghcr.io/OWNER/IMAGE_NAME:latest

It’s the account name of the user or organization that owns the image. Note that for Docker it has to be in all lower case.

What if the account name or organization has upper case letters?

Try to convert it to lower case before you use it in image names. Just for the image names, you don’t have to rename your account.

1 Like