-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I'm experiencing the very same issue as #23.
I have the following script:
docker run \
--rm \
--user "$(id -u):$(id -g)" \
--volume "${PROJECT_ROOT}":/src:Z \
--workdir /src \
tinygo/tinygo:"${TINYGO_VERSION}" \
tinygo build \
-target=wasi \
-scheduler=none \
-o "${OUT}" \
"${IN}"If I run it on my local mac (m1), I get:
➜ TINYGO_VERSION=0.31.2 ./build_wasm.sh ${PWD} etc/wasm/fn/simple_process.go etc/wasm/fn/simple_process.wasm
error: mkdir /.cache: permission denied
make: *** [wasm/build] Error 1
Which would works if I remove the --user flag on my local computer, but would fail on GitHub Action:
error: open etc/wasm/fn/simple_process.wasm: permission denied
make: *** [Makefile:130: wasm/build] Error 1
Metadata
Metadata
Assignees
Labels
No labels