Open joshuar opened 6 months ago
I've just discovered that it fails with a RUN heredoc as well. I've updated the https://github.com/joshuar/buildah-action-test repo with example containerfiles and jobs for both heredoc to a file and heredoc to run some commands.
Both containerfiles still work fine on the command-line with buildah, outside of the buildah-build action.
Version
redhat-actions/buildah-build@v2
Describe the bug
I have a Containerfile that is using a COPY command with a heredoc:
This fails to build with the following GitHub actions workflow configuration:
The error in the actions log is:
This builds fine using buildah on the command-line:
I am unsure what the cause is here. The only issue I could find that might be remotely relevant was https://github.com/containers/buildah/issues/5391. However I am not knowledgeable on buildah and its internals, just an end-user of the GitHub action.
If it helps, I create a repo with the Containerfile and workflow action that reliably reproduces this issue:
https://github.com/joshuar/buildah-action-test