An option to always pull latest image for docker related steps (OD-1713)
kdop opened 2 years ago

I am running OneDev server via the docker container method, on which I have mounted the host docker socket. I am executing my job inside a custom container I build and released on dockerhub. I made some changes and released a new image ('latest' tag) but OneDev is still using the old image. I executed "docker pull ..." on the docker server host and now the job is using the up to date image. Shouldn't OneDev always fetch the latest docker image, at least for the 'latest' tag? Is there a way to achieve this?

  • Robin Shen commented 2 years ago

    OneDev won't pull image automatically, for reasons of ensuring stable build. However it might be reasonable to always pull the image if latest tag is used. Converting this to be an improvment request.

  • Robin Shen changed fields 2 years ago
    Name Previous Value Current Value
    Type
    Question
    Improvement
  • Robin Shen changed title 2 years ago
    Previous Value Current Value
    "Run In Container" jobs are not pulling latest image from dockerhub
    An option to always pull latest image for docker related steps
  • kdop commented 2 years ago

    Thanks, an option would be perfect!

  • Robin Shen changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 2 years ago

    Already addressed in build OD-5047

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-1713
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover