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

build: cache go mod #345

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

blakepettersson
Copy link
Contributor

For local development, to remove the step where go modules are downloaded on every docker build, first copy only go.mod and go.sum to the Docker workspace.

This step only needs to be performed whenever one of those files changes.

For local development, to remove the step where go modules are
downloaded on every `docker build`, first copy only `go.mod` and
`go.sum` to the Docker workspace.

This step only needs to be performed whenever one of those files
changes.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
@fjogeleit fjogeleit merged commit fbfb7b1 into kyverno:main Sep 22, 2023
3 checks passed
@blakepettersson blakepettersson deleted the chore/cache-steps branch September 22, 2023 11:43
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

Successfully merging this pull request may close these issues.

2 participants