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
Build without containerfile using an already build base image. I used nginx from docker hub here.
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