Closed np22-jpg closed 1 year ago
After switching from sudo
to buildah unshare
to run my script and only building with the buildah action, the issue has went away. It’s still weird how running a build as root would cause this, but it’s probably a non-issue.
Version
redhat-actions/buildah-build@v2
Describe the bug
Running
mkdir -p
errors out on ubuntu-latest with:When
buildah
is previously used as root.Here are the logs before the error occurs, if that helps:
Failing Action
Dockerfile
Steps to reproduce, workflow links, screenshots
RUN mkdir
in a GHAThe action runs fine when buildah is not invoked in previous steps.