Open hcsaustrup opened 6 months ago
regcred
it's hardcoded. What is name of your "registry secret for myregistry.tld"?
The registry secret is the full hostname of the registry, in this example myregistry.tld
.
Why would the pullsecret name be hardcoded if you can maintain a list of registries for each repository? I might be misunderstanding this, but I'd expect each repository to have their own pullsecret containing all listed registries, which would be made available to the pod running the workflow.
(Obviously there is a bit of a security flaw with images being cached on the host, but that's a whole different can of worms unrelated to this)
Isn't this fixed by #3016?
Repository has registry secret
I think @hcsaustrup meant this functionality. Draft is in #3122.
Component
agent
Describe the bug
Repository has registry secret for myregistry.tld Step in workflow references myregistry.tld/path/my-plugin:latest Agent creates build pod, but references non-existing pull-secret "regcred":
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]