Created
March 10, 2022 13:22
-
-
Save orphefs/260561f261b1557cf92a5ec3a01fef11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run -d --rm \ # delete container when finished | |
-v /var/run/docker.sock:/var/run/docker.sock \ # need to pass on the Docker daemon unix socket | |
-v $(pwd)/my-repo:/project \ # mount my-repo into /project inside container | |
-v $(pwd)/ci-logs:/logs \ # logs directory | |
-v $(pwd)/secret:/secret \ # mount secret/ directory into /secret directory inside container | |
-e ACTION=pull_request \ # our action (could be push, or something else) | |
github-actions-pipeline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment