Kaniko multi-stage dockerfile build issue #2835
Labels
area/authentication
issue/push-fails
kind/bug
Something isn't working
priority/p2
High impact feature/bug. Will get a lot of users happy
registry/artifactory
Actual behavior
I am using kaniko-project/executor:v1.17.0-slim in my tekton pipeline. In case of normal dockerfiles it is working as expected but when we try with multi-stage dockerfiles it is giving me below error:
error pushing image: failed to push to destination ".../.../" UNAUTHORISED user is unauthorised to upload to ".../.../"
Expected behavior
Kaniko should upload multi-stage dockerfile image to artifactory
To Reproduce
Steps to reproduce the behavior:
Additional Information
I am already using /kaniko/.docker to store my credentials. Still facing same issue.
Kindly suggest some way to overcome this issue.
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: