Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on mount volume workspace github #5

Closed
avelino opened this issue Feb 15, 2021 · 2 comments
Closed

Error on mount volume workspace github #5

avelino opened this issue Feb 15, 2021 · 2 comments

Comments

@avelino
Copy link

avelino commented Feb 15, 2021

[test/build]   🐳  docker create image=act-addnab-docker-run-action-v1:latest entrypoint=[] cmd=[]
[test/build] Created container name=act-test-build-1 id=95c50e4e08b65cc9c23b58da0cb57d1f5baf504a7c987ecfa3dce4ee00b70a17 from image act-addnab-docker-run-action-v1:latest
[test/build] ENV ==> [INPUT_IMAGE=archlinux INPUT_OPTIONS=-v $GITHUB_WORKSPACE:/work INPUT_RUN=echo "Testing running"
ls -l /work
/github/home/test_aur.sh
 GITHUB_WORKFLOW=test ACT=true HOME=/github/home GITHUB_EVENT_PATH=/github/workflow/event.json GITHUB_REF=refs/heads/avelino/test INPUT_USERNAME= GITHUB_RUN_NUMBER=1 GITHUB_WORKSPACE=/github/workspace GITHUB_ACTOR=nektos/act GITHUB_TOKEN= GITHUB_ENV=/github/workflow/envs.txt CI=true GITHUB_EVENT_NAME=push GITHUB_ACTION=1 GITHUB_SHA=75a4828d23c567965f95f732153074773fdbbdca INPUT_REGISTRY= INPUT_PASSWORD= GITHUB_ACTIONS=true INPUT_SHELL=sh GITHUB_RUN_ID=1 GITHUB_REPOSITORY=avelino/aur RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[test/build]   🐳  docker run image=act-addnab-docker-run-action-v1:latest entrypoint=[] cmd=[]
[test/build] Starting container: 95c50e4e08b65cc9c23b58da0cb57d1f5baf504a7c987ecfa3dce4ee00b70a17
[test/build] Started container: 95c50e4e08b65cc9c23b58da0cb57d1f5baf504a7c987ecfa3dce4ee00b70a17
| docker: Error response from daemon: create $GITHUB_WORKSPACE: "$GITHUB_WORKSPACE" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
| See 'docker run --help'.
@avelino avelino changed the title Mount volume workspace github Error on mount volume workspace github Feb 15, 2021
@addnab
Copy link
Owner

addnab commented Feb 15, 2021

Ah. I should have tested this. Please try

    options: -v ${{ github.workspace }}:/work -e ABC=123

Going to open #6

@addnab
Copy link
Owner

addnab commented Feb 15, 2021

Updated the docs 6f0804d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants