terraform-aws-gitlab-runner
terraform-aws-gitlab-runner copied to clipboard
docs: describe how to access the cloned repository in a Docker in Docker approach
Description
Using Docker-in-Docker gets complicated in case you want to access the cloned repository. You can't simply use . to mount it into the new container as you need to use the path from the Docker host and not from the container executing your pipeline.
I added a section with examples on how to do this easily.
Closes #532
Hey @kayman-mk! 👋
Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process.
Make sure that this PR clearly explains:
- the problem being solved
- the best way a reviewer and you can test your changes
With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE.
The following ChatOps commands are supported:
/help: notifies a maintainer to help you out
Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command.
This message was generated automatically. You are welcome to improve it.
🦙 MegaLinter status: ✅ SUCCESS
| Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 1 | 0 | 0.0s | |
| ✅ COPYPASTE | jscpd | yes | no | 1.59s | |
| ✅ JSON | eslint-plugin-jsonc | 1 | 0 | 0 | 1.24s |
| ✅ JSON | jsonlint | 1 | 0 | 0.21s | |
| ✅ JSON | prettier | 1 | 1 | 0 | 0.54s |
| ✅ JSON | v8r | 1 | 0 | 2.4s | |
| ✅ MARKDOWN | markdownlint | 1 | 0 | 0 | 0.42s |
| ✅ MARKDOWN | markdown-link-check | 1 | 0 | 0.42s | |
| ✅ REPOSITORY | checkov | yes | no | 16.63s | |
| ✅ REPOSITORY | dustilock | yes | no | 0.46s | |
| ✅ REPOSITORY | gitleaks | yes | no | 1.05s | |
| ✅ REPOSITORY | git_diff | yes | no | 0.02s | |
| ✅ REPOSITORY | grype | yes | no | 13.45s | |
| ✅ REPOSITORY | secretlint | yes | no | 1.4s | |
| ✅ REPOSITORY | syft | yes | no | 0.32s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | 1.43s | |
| ✅ REPOSITORY | trufflehog | yes | no | 13.28s | |
| ✅ SPELL | cspell | 9 | 0 | 2.7s | |
| ✅ TERRAFORM | terraform-fmt | 5 | 0 | 0 | 0.24s |
| ✅ YAML | prettier | 1 | 0 | 0 | 0.48s |
| ✅ YAML | v8r | 1 | 0 | 2.72s | |
| ✅ YAML | yamllint | 1 | 0 | 0.34s |
See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
This PR was closed because it has been stalled for 15 days with no activity.