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

Call docker buildx prune instead of docker builder prune #3127

Merged
merged 2 commits into from Nov 18, 2023

Conversation

echoix
Copy link
Collaborator

@echoix echoix commented Nov 18, 2023

An action step was calling docker builder prune --force, but it was removing 0B. Since we use buildx, there is an equivalent command. Let's see if it manages to remove some space.

Proposed Changes

Readiness Checklist

Author/Contributor

  • Add entry to the CHANGELOG listing the change and linking to the corresponding issue (if appropriate)
  • If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

  • Label as breaking if this is a large fundamental change
  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

Copy link
Contributor

github-actions bot commented Nov 18, 2023

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 5 0 0.12s
✅ BASH shellcheck 5 0 0.38s
✅ BASH shfmt 5 0 0 0.52s
✅ COPYPASTE jscpd yes no 4.07s
✅ DOCKERFILE hadolint 124 0 14.68s
✅ JSON eslint-plugin-jsonc 23 0 0 4.26s
✅ JSON jsonlint 21 0 0.45s
✅ JSON v8r 23 0 18.41s
✅ MAKEFILE checkmake 1 0 0.03s
⚠️ MARKDOWN markdownlint 256 0 11 7.43s
✅ MARKDOWN markdown-link-check 256 0 8.02s
✅ MARKDOWN markdown-table-formatter 256 0 0 52.41s
✅ OPENAPI spectral 1 0 3.14s
⚠️ PYTHON bandit 201 61 4.1s
✅ PYTHON black 201 0 0 5.0s
✅ PYTHON flake8 201 0 3.31s
✅ PYTHON isort 201 0 0 1.15s
✅ PYTHON mypy 201 0 13.54s
✅ PYTHON pylint 201 0 16.08s
⚠️ PYTHON pyright 201 342 24.9s
✅ PYTHON ruff 201 0 0 0.59s
✅ REPOSITORY checkov yes no 39.8s
✅ REPOSITORY git_diff yes no 0.52s
⚠️ REPOSITORY grype yes 1 26.33s
✅ REPOSITORY secretlint yes no 10.83s
✅ REPOSITORY trivy yes no 39.13s
✅ REPOSITORY trivy-sbom yes no 15.45s
⚠️ REPOSITORY trufflehog yes 1 19.21s
✅ SPELL cspell 668 0 30.16s
✅ SPELL lychee 336 0 5.06s
✅ XML xmllint 3 0 0 0.54s
✅ YAML prettier 160 0 0 8.02s
✅ YAML v8r 102 0 152.71s
✅ YAML yamllint 161 0 1.95s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link
Member

@nvuillam nvuillam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good :)

@nvuillam nvuillam merged commit 55f2d6f into main Nov 18, 2023
125 checks passed
@nvuillam nvuillam deleted the docker-buildx-prune branch November 18, 2023 23:42
@echoix
Copy link
Collaborator Author

echoix commented Nov 19, 2023

It removed 18.31GB in 17s for an auto-update job!

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.

None yet

2 participants