Skip to content
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

updated kaniko executer version to 1.6.0 to solve the docker registry authentication. #28

Merged
merged 1 commit into from Oct 12, 2021

Conversation

michaelboke
Copy link
Contributor

For some reason the kaniko executer v1.5.2 is unable to complete the docker registry authentication check.

It will fail with the error during the auth check:

/kaniko/executor --dockerfile=Dockerfile --context=dir://. --destination=docker.mydomainhere.com/test/project:latest --digest-file=/kaniko/digest-file
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 "docker.mydomainhere.com/test/project:latest": POST https://docker.mydomainhere.com/v2/test/project/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:test/project Type:repository] map[Action:push Class: Name:test/project Type:repository]]
exit status 1

With the version bump, authentication with docker repository seems to be working again. Unfortunately, the changelog from kaniko does not note any issue or fix for this problem between v1.5.2 and v1.6.0

@shubham149 shubham149 merged commit 2172c5b into drone:main Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants