Andreas Wachter opened 5 months ago
|
|||||||
OneDev 9.3.1 switched to call buildx to build images which is much flexible and powerful. Buildx ships with docker new version by default. For old version you will need to install it separately: |
|||||||
does that mean I need to upgrade my agents? because I use the |
|||||||
Agent does not need to be upgraded (and can not be upgraded manually as it syncs with server automatically). The build image step calls OS docker facility directly. |
|||||||
ok, I'll see to it then. Thanks |
|||||||
I am already on the latest docker version. But I found out that if I run the
|
|||||||
Please install it by running:
|
|||||||
@cooperspencer Take a look at my last comment in https://code.onedev.io/onedev/server/~issues/1523 maybe that helps. |
|||||||
IMHO buildx should be installed in the official agent container and not me making a homebrewed version of the official one. |
|||||||
I opened a pull request for it. https://code.onedev.io/onedev/server/~pulls/65 |
|||||||
Robin Shen changed fields 5 months ago
|
|||||||
OneDev changed state to 'Closed' 5 months ago
|
|||||||
State changed as code fixing the issue is committed (b6aa1a29) |
|||||||
Referenced from commit 5 months ago
|
|||||||
OneDev changed state to 'Released' 5 months ago
|
|||||||
State changed as build #4380 is successful |
|||||||
Thanks for submitting the fix. I did not realized you are running agent inside container. Please upgrade to 9.3.2 (to incude buildx in server container as well), and also pull agent image to make things work. |
|||||||
no worries, glad I could help |
|||||||
What's the best way to keep the agent container updated? Cron job to pull regularly? How about a notification if the agent container is too old? |
|||||||
I usually use watchtower to keep my containers up to date. I run it in a cronjob. |
|||||||
It rarely needs to be updated. In case it is necessary, the incompatiblity note when upgrade to a new version will mention it. Like in 9.3.2 (added laterly). |
|||||||
Thanks, I will check it out. I'm relatively new to docker, the update process drives me nuts. |
Type |
Bug
|
Priority |
Major
|
Assignee | |
Affected Versions |
9.3.1
|
Labels |
No labels
|
I have a repository that automatically builds a container and I get the following error message since yesterday:
I use the
Build Docker Image
template. Can you have a look at it?