General Tech

Don't couple your Go code to GitHub

The article discusses the importance of decoupling Go code from GitHub by not checking out code from the repository directly in the CI/CD pipeline. This is achieved by using the Git mirror repository, which is a read-only mirror of the original repository. The author suggests using a Git mirror repository to reduce the risk of the CI/CD pipeline being affected by changes in the original repository, such as a broken link or a repository being deleted. The article also mentions the use of a Git mirror repository in a .gitignore file to exclude it from the repository's working directory.

Read the full article at iain.rocks →