#510  A step to build/publish docker image
Released
Robin Shen opened 2 years ago
No description
OneDev changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
OneDev commented 2 years ago

State changed as code fixing the issue is committed

bufferUnderrun commented 2 years ago

very interesting new feature as i just tried to do build one before you done.

it surprising me that when i build the docker image inside a job, the image was also retrieve in the host running onedev docker container. in another word, portainer retrieve the image build by onedev docker container.

How is it possible ? due to the /var/run/docker.sock ??

So how will this new feature work : registery (public/private) is mandatory ?

Robin Shen commented 2 years ago

Yes, you are right, it uses /var/run/docker.sock to relay docker operations back to host. The docker login setting in the step needs to be set up if docker registry involved in the step requires it

OneDev changed state to 'Released' 2 years ago
Previous Value Current Value
Closed
Released
OneDev commented 2 years ago

State changed as build #2193 is successful

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Issue Votes (0)
Watchers (2)
Reference
onedev/server#510
Please wait...
Page is in error, reload to recover