You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be misunderstanding this but I have to following situation:
I am running docker in docker.
When the container is started, the following mapping is being done: /runner/_work/_actions/ (host) -> /__w/_actions (work container)
When I try to install the aws cli via this action I then get
sudo: /runner/_work/_actions/unfor19/install-aws-cli-action/v1.0.3/entrypoint.sh: command not found
Error: Process completed with exit code 1.
I'm unsure how to replicate your actions, but as an alternative, you can add a step in your pipeline, as mentioned in the README.md, so instead of using this action as a classic action, in your complex use-case of docker-in-docker, you might be able to use-
Hello @unfor19 , thanks for taking the time to reply.
I read the docs and eventually implemented what you suggested above and everything works fine.
I just thought run: sudo --preserve-env ${GITHUB_ACTION_PATH}/entrypoint.sh was supposed to be run: sudo --preserve-env ${ROOTDIR}/entrypoint.sh after reading the code initially and wanted to signal a potential issue. But if this is the intended way of doing it, issue can be closed
I might be misunderstanding this but I have to following situation:
I am running docker in docker.
When the container is started, the following mapping is being done:
/runner/_work/_actions/
(host) ->/__w/_actions
(work container)When I try to install the aws cli via this action I then get
My question is, why is the script executed from the
GITHUB_ACTION_PATH
folder (https://github.com/unfor19/install-aws-cli-action/blob/master/action.yml#L49) and not fromROOTDIR
?Thanks in advance!
(I tried to override
GITHUB_ACTION_PATH
but it looks like gh doesn't allow this)The text was updated successfully, but these errors were encountered: