cnoe-io / idpbuilder

Spin up a complete internal developer platform with only Docker required as a dependency.
https://cloud-native.slack.com/archives/C05TN9WFN5S
Apache License 2.0
194 stars 59 forks source link

use go template for gitea registry #345

Closed nabuskey closed 3 months ago

nabuskey commented 3 months ago

fixes: #315

$ docker login gitea.127.0.0.1.nip.io:8443
Username: giteaadmin
Password:
WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

$ docker tag docker.io/library/ubuntu:24.04 gitea.127.0.0.1.nip.io:8443/giteaadmin/ubuntu:24.04

$ docker push gitea.127.0.0.1.nip.io:8443/giteaadmin/ubuntu:24.04
The push refers to repository [gitea.127.0.0.1.nip.io:8443/giteaadmin/ubuntu]
a30a5965a4f7: Pushed
24.04: digest: sha256:19bc204df71f4086020b609089ebf49b332c2e373ec31e3512644b8ad9615001 size: 529