drone-kaniko icon indicating copy to clipboard operation
drone-kaniko copied to clipboard

Failing to check push permissions

Open kradalby opened this issue 4 years ago • 4 comments

Describe the bug Recently I have seen all my builds that try to push fail with the following message:

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 "index.docker.io/[secret:docker_username]/flexiday:94ade237": UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:[secret:docker_username]/flexiday Type:repository] map[Action:push Class: Name:[secret:docker_username]/flexiday Type:repository]]

I wonder if this is an upstream bug?

Steps to reproduce the issue: I was using latest (or no version tag) Using any version above 0.5.1 will break my builds, however 0.5.1 works fine.

Expected behavior Not break

Screenshots

Additional context

kradalby avatar Mar 22 '20 10:03 kradalby

Possibly, since there weren't any other changes between those versions, let me check this.

bonifaido avatar Mar 23 '20 08:03 bonifaido

Thanks, sorry for my lack of debugging, I didn’t have time at the moment. Maybe some time will present itself later :)

kradalby avatar Mar 23 '20 09:03 kradalby

@kradalby this image seem to work banzaicloud/drone-kaniko:0.5.1 based on this comment https://github.com/GoogleContainerTools/kaniko/issues/1209#issuecomment-618583060

superbarne avatar May 06 '20 19:05 superbarne

Yep, currently using that

kradalby avatar May 06 '20 19:05 kradalby