drone-kaniko
drone-kaniko copied to clipboard
Failing to check push permissions
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
Possibly, since there weren't any other changes between those versions, let me check this.
Thanks, sorry for my lack of debugging, I didn’t have time at the moment. Maybe some time will present itself later :)
@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
Yep, currently using that