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

Mount volume main repository folder #4

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

Mount volume main repository folder #4

avelino opened this issue Feb 14, 2021 · 2 comments

Comments

@avelino
Copy link

avelino commented Feb 14, 2021

You must mount the repository volume

We don't usually use github actions to run standalone commands like echo

@addnab
Copy link
Owner

addnab commented Feb 15, 2021

The README does have it documented here. Sorry if it wasn't clear. Feel free to suggest any improvements to the docs.

- uses: addnab/docker-run-action@v1
  with:
    image: docker:latest
    options: -v $GITHUB_WORKSPACE:/work -e ABC=123
    run: |
      echo "first line"

@addnab
Copy link
Owner

addnab commented Feb 15, 2021

Updated the README with the typical use case and moved it to the top.

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