Kaniko with Tekton Pipeline: Nexus Registry Push Error "404 Not Found" #3198
Labels
area/permissions
issue/push-fails
kind/question
Further information is requested
needs-discussion
Items which need more discussion before commitment
priority/awaiting_evidence
waiting on user's input before we can close of assign priority
I work at a corporate company where our network is intranet-based. We are using Nexus as our Docker registry and I am writing a pipeline in Tekton. In the pipeline, I am using Kaniko and have created the necessary config.json for Kaniko. However, when running the pipeline, I encounter the following error:
error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "nexus.example.com/project-name:image-tag": creating push check transport for nexus.example.com failed: GET https://nexus.example.com/v2/: unexpected status code 404 Not Found
Here are the YAML configurations for the volume and Kaniko:
The config.json file was created using the following commands and contains:
What I have tried:
Ensured that the config.json is correctly created and that I have the necessary permissions on Nexus.
Manually verified that the Nexus URL is correct.
Verified that Kaniko is correctly configured and that the necessary SSL certificates are present.
Problem:
I am looking for a solution to this error and guidance on how to successfully push to the Nexus Registry using Kaniko. Can anyone help?
The text was updated successfully, but these errors were encountered: