|
1 | 1 | <!-- header:start --> |
2 | 2 |
|
3 | | -#  GitHub Action: Docker - Cleanup builder |
| 3 | +#  GitHub Action: Docker - Cleanup builder |
4 | 4 |
|
5 | 5 | <div align="center"> |
6 | 6 | <img src="../../../.github/logo.svg" width="60px" align="center" alt="Docker - Cleanup builder" /> |
|
13 | 13 |
|
14 | 14 | ## Overview |
15 | 15 |
|
16 | | -Registers a post-job step that removes a Docker Buildx builder after later post-job hooks have finished. |
17 | | -This action exists as a workaround for GitHub Actions post-step ordering behavior with composite actions, where the effective cleanup order may not match the visible reverse order of YAML steps. |
| 16 | +Register a post-job step that removes a Docker Buildx builder after later post steps have finished. |
18 | 17 |
|
19 | 18 | <!-- overview:end --> |
20 | 19 | <!-- usage:start --> |
21 | 20 |
|
22 | 21 | ## Usage |
23 | 22 |
|
24 | 23 | ```yaml |
25 | | -- uses: hoverkraft-tech/ci-github-container/actions/docker/cleanup-builder@main |
| 24 | +- uses: hoverkraft-tech/ci-github-container/actions/docker/cleanup-builder@bcbbcaff24e053e38ebab02dd0e41442df196719 # 0.32.0 |
26 | 25 | with: |
27 | | - builder: ${{ steps.docker-setup.outputs.buildx-name }} |
| 26 | + # Docker Buildx builder name to remove during post-job cleanup. |
| 27 | + builder: "" |
| 28 | + |
| 29 | + # Whether cleanup should run during the post-job phase. |
| 30 | + # Default: `true` |
28 | 31 | enabled: true |
29 | 32 | ``` |
30 | 33 |
|
@@ -68,3 +71,27 @@ Copyright © 2026 hoverkraft |
68 | 71 | For more details, see the [license](http://choosealicense.com/licenses/mit/). |
69 | 72 |
|
70 | 73 | <!-- license:end --> |
| 74 | +<!-- badges:start --> |
| 75 | + |
| 76 | +[](https://github.com/marketplace/actions/docker---cleanup-builder) |
| 77 | +[](https://github.com/hoverkraft-tech/ci-github-container/releases) |
| 78 | +[](http://choosealicense.com/licenses/mit/) |
| 79 | +[](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social) |
| 80 | +[](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md) |
| 81 | + |
| 82 | +<!-- badges:end --> |
| 83 | +<!-- secrets:start --> |
| 84 | +<!-- secrets:end --> |
| 85 | +<!-- outputs:start --> |
| 86 | +<!-- outputs:end --> |
| 87 | +<!-- examples:start --> |
| 88 | +<!-- examples:end --> |
| 89 | +<!-- security:start --> |
| 90 | +<!-- security:end --> |
| 91 | +<!-- generated:start --> |
| 92 | + |
| 93 | +--- |
| 94 | + |
| 95 | +This documentation was automatically generated by [CI Dokumentor](https://github.com/hoverkraft-tech/ci-dokumentor). |
| 96 | + |
| 97 | +<!-- generated:end --> |
0 commit comments