sign up an account at Docker Cloud and create a repository named after the image you want to push e.g. ubuntu. The image will then be pullable from your docker host as LOGIN/REPOSITORY
.
eventually rename/retag the image accordingly
docker tag custom-ubuntu:latest pbraun9/ubuntu:latest
retag your image accordingly and push it to the public or private repo,
#export DOCKER_ID_USER="pbraun9" docker login -u pbraun9 docker push pbraun9/ubuntu docker push pbraun9/centos docker push pbraun9/devuan-svr4 docker push pbraun9/devuan docker push pbraun9/meet docker push pbraun9/wg-access-server:v0.11.0 docker push pbraun9/sabotage-stage1 docker push pbraun9/sabotage-custom docker push pbraun9/sabotage-nginx-debug docker push pbraun9/sabotage-nginx
similarly you can push to GHCR
github settings / dev settings --> personal access tokens docker login ghcr.io -u GITHUB_USERNAME docker push GITHUB_USERNAME/IMAGE:TAG
https://docs.docker.com/docker-cloud/builds/push-images/
https://docs.docker.com/registry/recipes/mirror/
https://cto.ai/blog/build-and-deploy-a-docker-image-on-ghcr/
https://github.com/features/packages