Skip to content

Instantly share code, notes, and snippets.

@orphefs
Created March 10, 2022 13:22
Show Gist options
  • Save orphefs/76365f944ff603696113b6184ba0ad19 to your computer and use it in GitHub Desktop.
Save orphefs/76365f944ff603696113b6184ba0ad19 to your computer and use it in GitHub Desktop.
sudo docker run \
-d --rm \ # delete container when finished
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd)/my-repo:/project \ # mount repo as volume inside container
-v $(pwd)/ci-logs:/logs \ # logs directory
-e ACTION=pull_request \ # our action (could be push, or something else)
github-actions-pipeline # our image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment