Open eXpl0it3r opened 1 month ago
You are missing dockerRunArgs
where you need to mount the host folder to the Docker container.
See an example at https://github.com/lh3/bwa/blob/79b230de48c74156f9d3c26795a360fc5a2d5d3b/.github/workflows/ci.yaml#L39-L40
Thank you for the reply! 🙂
I don't quite understand the connection between mounting the host directory and having the install
section executed. Why is one needed for the other?
Might be a good hint for the readme then, as there doesn't seem to be an indication that this is necessary.
I didn't say that the mounting is related to the installation step! They might be related but I didn't check the source code to validate this!
I pointed you at dockerRunArgs
because of
run: |
cd ./CSFML/tools/nuget
Without the mounting you cannot expect to find CSFML/
inside the Docker container!
Does your CI workflow work now after adding dockerRunArgs
?
Yes, after adding it, it does execute correctly.
It's however still unclear to me, why before it didn't even run the installation (no output in the log).
So without a dockerRunArgs, the image isn't even executed?
What's even more peculiar is, that it still ran the run commands without it, but I assume directly on the host, since the volume wasn't actually mapped?
Description
If you don't use a GitHub Token to cache the Docker image, the
install
options aren't actually executed.Steps to Reproduce
run-on-arch-action
install
commandsgithub-token
Actual Behavior
It just launches a default Docker image that doesn't run the specified
install
commands.Expected Behavior
Even if the Docker image isn't cached, the built Docker image should be used and the
install
commands should be executed.Workaround
Just run the
apt-get install
commands in the run section first.Additional Information
You never see the install being executed.
Here's the output:
Build container
Run container