Closed elessar-ch closed 9 months ago
Addendum: I ensured my secret was set up completely right according to this doc: https://github.com/tektoncd/pipeline/blob/main/docs/auth.md#understanding-credential-selection
I also checked why that warning regarding the credential copy occurs (https://github.com/tektoncd/pipeline/blob/main/docs/auth.md#unsuccessful-cred-copy-warning). In my case this message is logged also by the create task. I checked the permissions on the file and it's 600, with owner cnb (1000), and the create step being executed as that user. I don't understand why it would occur in that step.
Hi @elessar-ch the unsuccessful cred copy
message is a red herring. I can't recall the exact details of why it occurs, but it is not a blocker.
This is a slightly maddening suggestion, but can you try configuring your registry URL with a trailing slash? Such as https://index.docker.io/v1/
.
For more context, see https://github.com/buildpacks/lifecycle/issues/608
On Page: Tekton
Hi, I tried to follow the docs and push to a public repo of my personal Docker Hub account, however the PipelineRun fails with the following error message:
I replicated the steps quite exactly and the secret with the correct Docker Hub creds is present. To me it looks like it's not used.
Interestingly, at the beginning of most containers in the pod, the following message appears.
However, it looks like it's due to different users being used in different steps, but the config is already there, which I confirmed by running a copy of the pods configuration with
sleep infinity
andexec ... -- /bin/bash
ing into.Can anybody point me in the direction of fixing this issue?