-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Panic: index out of range when stage alias has the same name as base image #934
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
kind/bug
Something isn't working
priority/p3
agreed that this would be good to have, but no one is available at the moment.
work-around-available
Milestone
Comments
cvgw
changed the title
Kaniko
Panic: index out of range when stage alias has the same name as base image
Dec 27, 2019
cvgw
added
area/dockerfile-command
For all bugs related to dockerfile file commands
kind/bug
Something isn't working
labels
Dec 27, 2019
tejal29
added
work-around-available
priority/p3
agreed that this would be good to have, but no one is available at the moment.
labels
Jan 10, 2020
Alternatively: change it to |
Reproduction on v1.23.2:
Emits:
Maybe |
mickvangelderen
added a commit
to mickvangelderen/kaniko
that referenced
this issue
Jul 10, 2024
4 tasks
mickvangelderen
added a commit
to mickvangelderen/kaniko
that referenced
this issue
Jul 10, 2024
I created #3245 with this 1 character change. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
kind/bug
Something isn't working
priority/p3
agreed that this would be good to have, but no one is available at the moment.
work-around-available
Actual behavior
A clear and concise description of what the bug is.
Kaniko panics with an index out of range when I think a image and alias are duplicates of each other. For example FROM composer AS composer
Removing AS composer fixed it
Output
Expected behavior
A clear and concise description of what you expected to happen.
Not crash
To Reproduce
Steps to reproduce the behavior:
Additional Information
Dockerfile
FROM composer AS composer
# rest doesnt matter
Kaniko Image (fully qualified with digest)
Didn't specify, I assume latest as of 2019-12-25
gcr.io/kaniko-project/executor:debug
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: