-
Notifications
You must be signed in to change notification settings - Fork 35
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
[BUG] Wrong entrypoint set when omitting the entrypoint parameter #136
Labels
bug
Something isn't working
Comments
picsel2
added a commit
to picsel2/buildah-build
that referenced
this issue
Apr 26, 2024
The entrypoint array of BuildahConfigSettings might be empty. It makes no sense to push the `--entrypoint` argument then, thus breaking the `convertArrayToStringArg` method. Closes redhat-actions#136
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
redhat-actions/push-to-registry@v2
Describe the bug
Building an image "from scratch" without providing an entrypoint parameter lets the action pass
--entrypoint ]
to buildah.This erroneously overrides the entrypoint given by a base image and breaks container execution.
Steps to reproduce, workflow links, screenshots
Example action
Action output
The text was updated successfully, but these errors were encountered: