"Insecure" docker registry #3166
-
Hi! I'm currently experimenting with Woodpecker-ci and Gitea, and I'm really impressed by how easy it is to setup a CI for my personal project! Congrats! Since I'm testing everything locally, I didn't setup any reverse proxy to handle HTTPS, I use plain HTTP everywhere. I know this is not secure, but it's easier for a completely local setup. Right now, my workflow downloads the docker image from DockerHub, but I would like to use the Container repository from my local Gitea instance. Here's my workflow:
The I had exactly the same error with docker push before I specified this registry as insecure in the docker configuration file. Is it possible to do the same with Woodpecker? Ideally, I would like to pull the docker image and push the output of the build from and to my Gitea instance. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Insecure registry means that it can have self signed (untrusted) certificate but it still have to be using https, docker registry supports http only on localhost |
Beta Was this translation helpful? Give feedback.
-
I somehow managed to push my docker image to my Gitea registry hosted on my LAN by passing a configuration file to the builder (using
But I guess I'll try to enable HTTPS on my Gitea instance, then :) Thanks for your support! |
Beta Was this translation helpful? Give feedback.
Insecure registry means that it can have self signed (untrusted) certificate but it still have to be using https, docker registry supports http only on localhost