-
-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After update to version 2.7.1 buildx plugin stopped working #4096
Comments
Some questions:
|
well by default it should be allowed: woodpecker/shared/constant/constant.go Lines 22 to 23 in 324ab4a
|
If you have changed the default privileged plugins and added a tag, now the tag is respected so it must match to be privileged: |
@steinhobelgruen are you using the |
Since it happens with all pipelines I can just copy a very short one completely:
With 2.7.0 I get no warnings on this pipeline at all, 2.7.1 on the other hand complains:
So I probably should change something about the secrets handling now, but that doesn't explain why even (I have no idea what WOODPECKER_ESCALATE is) |
Ah, I found WOODPECKER_ESCALATE in the documentation. I haven't set that to anything, so it should be on default. |
You're using secrets. That's forbidden for security reasons. While it was possible to use it before, it never was documented that this is possible. Adding secrets means that this is not treated as plugin internally anymore and therefore it won't get Instead, use steps:
docker-build:
image: woodpeckerci/plugin-docker-buildx
settings:
...
username:
from_secret: docker_username
password:
from_secret: docker_password |
Thanks, that works, I'll close the issue. But:
Yes, it is documented exactly like that here: |
@steinhobelgruen yes for commands You use a plugin witch has no commands ;) |
But i agree the docs should be improved ... |
@steinhobelgruen would #4099 have clarifyed it for you? |
A lot. :-) |
Component
agent
Describe the bug
After updating both the server and the agent to version 2.7.1 all steps using the woodpeckerci/plugin-docker-buildx stopped working. The docker build would not start:
Switching back to 2.7.0 fixed the problem.
Steps to reproduce
Expected behavior
No response
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: