Closed dr460nf1r3 closed 11 months ago
+, same here
Same for me. The earliest tag I could find that works was next-6d373daea0
, although I did skip over some tags so there could be an earlier point that is functional.
Can you double check that you're using plugin-git:2.1.0
? I got the same error when still using 2.0.3
.
The configuration I was using at this time is:
clone:
git:
image: woodpeckerci/plugin-git
settings:
# We are skipping verification of certificates because a
# selfsigned one is used for Forgejo
skip_verify: true
So it should be always the latest image available?
You don't even need the clone:
part explicitly as this is inferred in the background automatically (just fyi in case this is not clear).
But other than that, it should use 2.1.0 automatically, yes. But it might be that you had fixed the image in your server config to some other version, that's why I asked.
I can't replicate the issue anymore with 2.1.0.
Yep I actually had 1.5.0 hardcoded in my config to fix some other issue, switching to the latest tag fixed it for me.
I put in the latest
tag and pulled, and it all seems to work fine now! Either it's fixed, or it was operator error to begin with 😅
As everything is working with the latest release, let's close here 🙂
I upgraded to docker v2.0.0 today and am encountering the same issue:
clone:
git:
image: woodpeckerci/plugin-git:latest
environment:
- PLUGIN_LFS=false
- PLUGIN_CUSTOM_SSL_PATH=/LAN.crt
volumes:
- /volume1/LAN.crt:/opt/LAN.crt
Actually I realized that the image was still outdated. Sorry.
@patrickuhlmann Can you check the logs? Do you have the same as in the issue description?
Yes it was the same. But also with an outdated image.
So it's working now?
Yes
Component
server, agent
Describe the bug
Web UI logs:
Server logs:
Agent logs:
First seen here: https://github.com/woodpecker-ci/woodpecker/issues/1169
It worked before updating to the latest next version yesterday. Reverting to the tag
next-0cf602a1f6-alpine
fixes the issue, so it must've been introduced in the latest commits.System Info
Additional context
Using the official
next-alpine
Docker containers.Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]