Compare commits
	
		
			84 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | e468171a9d | ||
|   | a3e7502fd0 | ||
|   | b145473295 | ||
|   | 18ce135bb5 | ||
|   | 0e198e93af | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 05f3f3ac10 | ||
|   | 622913496d | ||
|   | c6f6a07025 | ||
|   | 6c5e29d848 | ||
|   | 548b297749 | ||
|   | 36590ad0c1 | ||
|   | 4143b5899b | ||
|   | 3f1544eb9e | ||
|   | f3204bbfac | ||
|   | 4ba329ef89 | ||
|   | e600775e52 | ||
|   | b2b2ffa946 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | fe905840cd | ||
|   | 8998bbe94b | ||
|   | 830833e0c7 | ||
|   | 941183f0a0 | ||
|   | 311b62b254 | ||
|   | afeb29a6e0 | ||
|   | b560416601 | ||
|   | 516bb780e5 | ||
|   | 11445527f0 | ||
|   | b5ca514318 | ||
|   | 1418a4ef33 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 93acf831ce | ||
|   | f7ce87c1d6 | ||
|   | aa1e2a0b49 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 673e008776 | ||
|   | ba31df4664 | ||
|   | 5475af18ec | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | acacad903e | ||
|   | 6a25f988bd | ||
|   | ca1af179f5 | ||
|   | 6524bf65af | ||
|   | 8d5e0747fc | ||
|   | 7199e57b35 | ||
|   | db63cee3de | ||
|   | 043ebe137f | ||
|   | 686da9073d | ||
|   | a3d74876b8 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 4dcdbcec48 | ||
|   | 1a8ac74316 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | e827ebe8ba | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | adacc1474e | ||
|   | 0f069ddc17 | ||
|   | d036b3238c | ||
|   | 460e45646d | ||
|   | 93aa1c807f | ||
|   | d391aad55c | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | e5b688ea46 | ||
|   | c47758b77c | ||
|   | 8fea382513 | ||
|   | 2874e980e8 | ||
|   | 8026d2bc36 | ||
|   | e51aab53e9 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | fd7390e14d | ||
|   | 910a304005 | ||
|   | 3623ee443e | ||
|   | e0e5ecf670 | ||
|   | 5334dd0cdd | ||
|   | 214bb6dac1 | ||
|   | 818c69a4ea | ||
|   | b467d6aa7a | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 7594cf3831 | ||
|   | 988b5a0280 | ||
|   | 2c215620b8 | ||
|   | 3382292cd5 | ||
|   | 3d68780484 | ||
|   | d069e98648 | ||
|   | 8b850f86dc | ||
|   | aa33708b10 | ||
|   | 2d99e3412d | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 4dab43650b | ||
|   | 49a04d6890 | ||
|   | a6ade2e34f | ||
|   | 2f2694b8d1 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 0a4bab6632 | ||
|   | 2ad185228a | ||
|   | 560ac469d6 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | b3a341759e | 
							
								
								
									
										73
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										73
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -5,6 +5,7 @@ concurrency: | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|   schedule: | ||||
|     - cron: '0 10 * * *' | ||||
|   push: | ||||
| @@ -25,8 +26,9 @@ jobs: | ||||
|           - "" | ||||
|           - "latest" | ||||
|           - "v0.4.1" | ||||
|           - "cloud:latest" | ||||
|           - "cloud:v0.11.2-desktop.2" | ||||
|           - "lab:latest" | ||||
|           - "lab:v0.11.2-desktop.2" | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
| @@ -515,7 +517,7 @@ jobs: | ||||
|           cleanup: ${{ matrix.cleanup }} | ||||
|  | ||||
|   k3s: | ||||
|     runs-on: ubuntu-20.04 | ||||
|     runs-on: ubuntu-latest | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|       matrix: | ||||
| @@ -528,9 +530,7 @@ jobs: | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Install k3s | ||||
|         uses: crazy-max/.github/.github/actions/install-k3s@605d30d5ae97f6680578ace4b56645af79343e60 | ||||
|         with: | ||||
|           version: "v1.21.2-k3s1" | ||||
|         uses: crazy-max/.github/.github/actions/install-k3s@f5cb4a109b7a3b466a2ac293ef4bb13f1571acd7 | ||||
|       - | ||||
|         name: Set up Docker Buildx | ||||
|         id: buildx | ||||
| @@ -582,3 +582,66 @@ jobs: | ||||
|         with: | ||||
|           version: v0.11.2 | ||||
|           cache-binary: ${{ matrix.cache }} | ||||
|  | ||||
|   windows-error: | ||||
|     runs-on: windows-latest | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Set up Docker Buildx | ||||
|         id: buildx | ||||
|         continue-on-error: true | ||||
|         uses: ./ | ||||
|       - | ||||
|         name: Check | ||||
|         run: | | ||||
|           echo "${{ toJson(steps.buildx) }}" | ||||
|           if [ "${{ steps.buildx.outcome }}" != "failure" ] || [ "${{ steps.buildx.conclusion }}" != "success" ]; then | ||||
|             echo "::error::Should have failed" | ||||
|             exit 1 | ||||
|           fi | ||||
|         shell: bash | ||||
|  | ||||
|   keep-state: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Set up Docker Buildx | ||||
|         uses: ./ | ||||
|         with: | ||||
|           name: foo | ||||
|           keep-state: true | ||||
|       - | ||||
|         name: Set up Docker Buildx | ||||
|         uses: ./ | ||||
|         with: | ||||
|           name: foo | ||||
|           keep-state: true | ||||
|  | ||||
|   keep-state-error: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Set up Docker Buildx | ||||
|         id: buildx | ||||
|         continue-on-error: true | ||||
|         uses: ./ | ||||
|         with: | ||||
|           driver: docker | ||||
|           keep-state: true | ||||
|       - | ||||
|         name: Check | ||||
|         run: | | ||||
|           echo "${{ toJson(steps.buildx) }}" | ||||
|           if [ "${{ steps.buildx.outcome }}" != "failure" ] || [ "${{ steps.buildx.conclusion }}" != "success" ]; then | ||||
|             echo "::error::Should have failed" | ||||
|             exit 1 | ||||
|           fi | ||||
|   | ||||
							
								
								
									
										17
									
								
								.github/workflows/pr-assign-author.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/pr-assign-author.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| name: pr-assign-author | ||||
|  | ||||
| permissions: | ||||
|   contents: read | ||||
|  | ||||
| on: | ||||
|   pull_request_target: | ||||
|     types: | ||||
|       - opened | ||||
|       - reopened | ||||
|  | ||||
| jobs: | ||||
|   run: | ||||
|     uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf | ||||
|     permissions: | ||||
|       contents: read | ||||
|       pull-requests: write | ||||
							
								
								
									
										21
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| name: publish | ||||
|  | ||||
| on: | ||||
|   release: | ||||
|     types: | ||||
|       - published | ||||
|  | ||||
| jobs: | ||||
|   publish: | ||||
|     runs-on: ubuntu-latest | ||||
|     permissions: | ||||
|       contents: read | ||||
|       id-token: write | ||||
|       packages: write | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Publish | ||||
|         uses: actions/publish-immutable-action@v0.0.4 | ||||
							
								
								
									
										6
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -23,12 +23,12 @@ jobs: | ||||
|         uses: ./ | ||||
|       - | ||||
|         name: Test | ||||
|         uses: docker/bake-action@v5 | ||||
|         uses: docker/bake-action@v6 | ||||
|         with: | ||||
|           targets: test | ||||
|       - | ||||
|         name: Upload coverage | ||||
|         uses: codecov/codecov-action@v4 | ||||
|         uses: codecov/codecov-action@v5 | ||||
|         with: | ||||
|           file: ./coverage/clover.xml | ||||
|           files: ./coverage/clover.xml | ||||
|           token: ${{ secrets.CODECOV_TOKEN }} | ||||
|   | ||||
							
								
								
									
										16
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							| @@ -15,16 +15,17 @@ jobs: | ||||
|   prepare: | ||||
|     runs-on: ubuntu-latest | ||||
|     outputs: | ||||
|       targets: ${{ steps.targets.outputs.matrix }} | ||||
|       targets: ${{ steps.generate.outputs.targets }} | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Targets matrix | ||||
|         id: targets | ||||
|         run: | | ||||
|           echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT | ||||
|         name: List targets | ||||
|         id: generate | ||||
|         uses: docker/bake-action/subaction/list-targets@v6 | ||||
|         with: | ||||
|           target: validate | ||||
|  | ||||
|   validate: | ||||
|     runs-on: ubuntu-latest | ||||
| @@ -35,11 +36,8 @@ jobs: | ||||
|       matrix: | ||||
|         target: ${{ fromJson(needs.prepare.outputs.targets) }} | ||||
|     steps: | ||||
|       - | ||||
|         name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|       - | ||||
|         name: Validate | ||||
|         uses: docker/bake-action@v5 | ||||
|         uses: docker/bake-action@v6 | ||||
|         with: | ||||
|           targets: ${{ matrix.target }} | ||||
|   | ||||
							
								
								
									
										40
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										40
									
								
								README.md
									
									
									
									
									
								
							| @@ -85,23 +85,31 @@ The following inputs can be used as `step.with` keys: | ||||
| > platforms: linux/amd64,linux/arm64 | ||||
| > ``` | ||||
|  | ||||
| | Name                         | Type     | Default            | Description                                                                                                                                                                  | | ||||
| |------------------------------|----------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||||
| | `version`                    | String   |                    | [Buildx](https://github.com/docker/buildx) version. (eg. `v0.3.0`, `latest`, `https://github.com/docker/buildx.git#master`)                                                  | | ||||
| | `driver`                     | String   | `docker-container` | Sets the [builder driver](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver) to be used                                                             | | ||||
| | `driver-opts`                | List     |                    | List of additional [driver-specific options](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver-opt) (eg. `image=moby/buildkit:master`)              | | ||||
| | `buildkitd-flags`            | String   |                    | [BuildKit daemon flags](https://docs.docker.com/engine/reference/commandline/buildx_create/#buildkitd-flags)                                                                 | | ||||
| | `buildkitd-config` \*        | String   |                    | [BuildKit daemon config file](https://docs.docker.com/engine/reference/commandline/buildx_create/#config)                                                                    | | ||||
| | `buildkitd-config-inline` \* | String   |                    | Same as `buildkitd-config` but inline                                                                                                                                        | | ||||
| | `install`                    | Bool     | `false`            | Sets up `docker build` command as an alias to `docker buildx`                                                                                                                | | ||||
| | `use`                        | Bool     | `true`             | Switch to this builder instance                                                                                                                                              | | ||||
| | `endpoint`                   | String   |                    | [Optional address for docker socket](https://docs.docker.com/engine/reference/commandline/buildx_create/#description) or context from `docker context ls`                    | | ||||
| | `platforms`                  | List/CSV |                    | Fixed [platforms](https://docs.docker.com/engine/reference/commandline/buildx_create/#platform) for current node. If not empty, values take priority over the detected ones. | | ||||
| | `append`                     | YAML     |                    | [Append additional nodes](https://docs.docker.com/build/ci/github-actions/configure-builder/#append-additional-nodes-to-the-builder) to the builder                          | | ||||
| | `cache-binary`               | Bool     | `true`             | Cache buildx binary to GitHub Actions cache backend                                                                                                                          | | ||||
| | `cleanup`                    | Bool     | `true`             | Cleanup temp files and remove builder at the end of a job                                                                                                                    | | ||||
| | Name                         | Type     | Default            | Description                                                                                                                                                                 | | ||||
| |------------------------------|----------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||||
| | `version`                    | String   |                    | [Buildx](https://github.com/docker/buildx) version. (eg. `v0.3.0`, `latest`, `https://github.com/docker/buildx.git#master`)                                                 | | ||||
| | `name`                       | String   |                    | Name of the builder. If not specified, one will be generated or if it already exists, it will be used instead of creating a new one                                         | | ||||
| | `driver`                     | String   | `docker-container` | Sets the [builder driver](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver) to be used                                                            | | ||||
| | `driver-opts`                | List     |                    | List of additional [driver-specific options](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver-opt) (eg. `image=moby/buildkit:master`)             | | ||||
| | `buildkitd-flags`            | String   |                    | [BuildKit daemon flags](https://docs.docker.com/engine/reference/commandline/buildx_create/#buildkitd-flags)                                                                | | ||||
| | `buildkitd-config` \*        | String   |                    | [BuildKit daemon config file](https://docs.docker.com/engine/reference/commandline/buildx_create/#config)                                                                   | | ||||
| | `buildkitd-config-inline` \* | String   |                    | Same as `buildkitd-config` but inline                                                                                                                                       | | ||||
| | `install`                    | Bool     | `false`            | Sets up `docker build` command as an alias to `docker buildx`                                                                                                               | | ||||
| | `use`                        | Bool     | `true`             | Switch to this builder instance                                                                                                                                             | | ||||
| | `endpoint`                   | String   |                    | [Optional address for docker socket](https://docs.docker.com/engine/reference/commandline/buildx_create/#description) or context from `docker context ls`                   | | ||||
| | `platforms`                  | List/CSV |                    | Fixed [platforms](https://docs.docker.com/engine/reference/commandline/buildx_create/#platform) for current node. If not empty, values take priority over the detected ones | | ||||
| | `append`                     | YAML     |                    | [Append additional nodes](https://docs.docker.com/build/ci/github-actions/configure-builder/#append-additional-nodes-to-the-builder) to the builder                         | | ||||
| | `keep-state`                 | Bool     | `false`            | Keep BuildKit state on `cleanup`. This is only useful on persistent self-hosted runners                                                                                     | | ||||
| | `cache-binary`               | Bool     | `true`             | Cache buildx binary to GitHub Actions cache backend                                                                                                                         | | ||||
| | `cleanup`                    | Bool     | `true`             | Cleanup temp files and remove builder at the end of a job                                                                                                                   | | ||||
|  | ||||
| _\* `buildkitd-config` and `buildkitd-config-inline` are mutually exclusive_ | ||||
| > [!IMPORTANT] | ||||
| > If you set the `buildkitd-flags` input, the default flags (`--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host`) | ||||
| > will be reset. If you want to retain the default behavior, make sure to | ||||
| > include these flags in your custom `buildkitd-flags` value. | ||||
|  | ||||
| > [!NOTE] | ||||
| > `buildkitd-config` and `buildkitd-config-inline` are mutually exclusive. | ||||
|  | ||||
| ### outputs | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,6 @@ | ||||
| import {beforeEach, describe, expect, jest, test} from '@jest/globals'; | ||||
| import * as fs from 'fs'; | ||||
| import * as path from 'path'; | ||||
| import * as uuid from 'uuid'; | ||||
| import {Buildx} from '@docker/actions-toolkit/lib/buildx/buildx'; | ||||
| import {Context} from '@docker/actions-toolkit/lib/context'; | ||||
| import {Docker} from '@docker/actions-toolkit/lib/docker/docker'; | ||||
| @@ -26,8 +25,12 @@ jest.spyOn(Context, 'tmpName').mockImplementation((): string => { | ||||
|   return tmpName; | ||||
| }); | ||||
|  | ||||
| jest.mock('uuid'); | ||||
| jest.spyOn(uuid, 'v4').mockReturnValue('9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'); | ||||
| jest.mock('crypto', () => { | ||||
|   return { | ||||
|     ...(jest.requireActual('crypto') as object), | ||||
|     randomUUID: jest.fn(() => '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d') | ||||
|   }; | ||||
| }); | ||||
|  | ||||
| jest.spyOn(Docker, 'context').mockImplementation((): Promise<string> => { | ||||
|   return Promise.resolve('default'); | ||||
| @@ -53,6 +56,7 @@ describe('getCreateArgs', () => { | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -71,6 +75,7 @@ describe('getCreateArgs', () => { | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -89,6 +94,7 @@ describe('getCreateArgs', () => { | ||||
|         ['driver-opts', 'image=moby/buildkit:master\nnetwork=host'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -109,6 +115,7 @@ describe('getCreateArgs', () => { | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -129,6 +136,7 @@ describe('getCreateArgs', () => { | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -148,6 +156,7 @@ describe('getCreateArgs', () => { | ||||
|         ['driver-opts', `"env.no_proxy=localhost,127.0.0.1,.mydomain"`], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -166,6 +175,7 @@ describe('getCreateArgs', () => { | ||||
|         ['platforms', 'linux/amd64\n"linux/arm64,linux/arm/v7"'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -184,6 +194,7 @@ describe('getCreateArgs', () => { | ||||
|         ['driver', 'unknown'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -200,6 +211,7 @@ describe('getCreateArgs', () => { | ||||
|         ['buildkitd-config', path.join(fixturesDir, 'buildkitd.toml')], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -218,6 +230,7 @@ describe('getCreateArgs', () => { | ||||
|         ['buildkitd-config-inline', 'debug = true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
| @@ -226,7 +239,64 @@ describe('getCreateArgs', () => { | ||||
|         '--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host', | ||||
|         '--config', tmpName, | ||||
|       ] | ||||
|     ] | ||||
|     ], | ||||
|     [ | ||||
|       10, | ||||
|       'v0.10.3', | ||||
|       new Map<string, string>([ | ||||
|         ['install', 'false'], | ||||
|         ['use', 'false'], | ||||
|         ['driver', 'cloud'], | ||||
|         ['buildkitd-flags', '--allow-insecure-entitlement network.host'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
|         '--name', 'builder-9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d', | ||||
|         '--driver', 'cloud', | ||||
|         '--buildkitd-flags', '--allow-insecure-entitlement network.host', | ||||
|       ] | ||||
|     ], | ||||
|     [ | ||||
|       11, | ||||
|       'v0.10.3', | ||||
|       new Map<string, string>([ | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['keep-state', 'false'], | ||||
|         ['name', 'test-builder-name'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
|         '--name', 'test-builder-name', | ||||
|         '--driver', 'docker-container', | ||||
|         '--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host', | ||||
|         '--use' | ||||
|       ] | ||||
|     ], | ||||
|     [ | ||||
|       12, | ||||
|       'v0.10.3', | ||||
|       new Map<string, string>([ | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['keep-state', 'true'], | ||||
|         ['name', 'test-builder-name'], | ||||
|       ]), | ||||
|       [ | ||||
|         'create', | ||||
|         '--name', 'test-builder-name', | ||||
|         '--driver', 'docker-container', | ||||
|         '--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host', | ||||
|         '--use', | ||||
|       ] | ||||
|     ], | ||||
|   ])( | ||||
|     '[%d] given buildx %s and %p as inputs, returns %p', | ||||
|     async (num: number, buildxVersion: string, inputs: Map<string, string>, expected: Array<string>) => { | ||||
| @@ -264,6 +334,7 @@ describe('getAppendArgs', () => { | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       { | ||||
|         "name": "aws_graviton2", | ||||
| @@ -302,6 +373,149 @@ describe('getAppendArgs', () => { | ||||
|   ); | ||||
| }); | ||||
|  | ||||
| describe('getVersion', () => { | ||||
|   beforeEach(() => { | ||||
|     process.env = Object.keys(process.env).reduce((object, key) => { | ||||
|       if (!key.startsWith('INPUT_')) { | ||||
|         object[key] = process.env[key]; | ||||
|       } | ||||
|       return object; | ||||
|     }, {}); | ||||
|   }); | ||||
|  | ||||
|   // prettier-ignore | ||||
|   test.each([ | ||||
|     [ | ||||
|       0, | ||||
|       new Map<string, string>([ | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       '' | ||||
|     ], | ||||
|     [ | ||||
|       1, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'latest'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'latest' | ||||
|     ], | ||||
|     [ | ||||
|       2, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'edge'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'edge' | ||||
|     ], | ||||
|     [ | ||||
|       3, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'v0.19.2'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'v0.19.2' | ||||
|     ], | ||||
|     [ | ||||
|       4, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'latest'], | ||||
|         ['driver', 'cloud'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'cloud:latest' | ||||
|     ], | ||||
|     [ | ||||
|       5, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'edge'], | ||||
|         ['driver', 'cloud'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'cloud:edge' | ||||
|     ], | ||||
|     [ | ||||
|       6, | ||||
|       new Map<string, string>([ | ||||
|         ['driver', 'cloud'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'cloud:latest' | ||||
|     ], | ||||
|     [ | ||||
|       7, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'cloud:v0.11.2-desktop.2'], | ||||
|         ['driver', 'cloud'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'cloud:v0.11.2-desktop.2' | ||||
|     ], | ||||
|     [ | ||||
|       8, | ||||
|       new Map<string, string>([ | ||||
|         ['version', 'cloud:v0.11.2-desktop.2'], | ||||
|         // defaults | ||||
|         ['install', 'false'], | ||||
|         ['use', 'true'], | ||||
|         ['cache-binary', 'true'], | ||||
|         ['cleanup', 'true'], | ||||
|         ['keep-state', 'false'] | ||||
|       ]), | ||||
|       'cloud:v0.11.2-desktop.2' | ||||
|     ], | ||||
|   ])( | ||||
|     '[%d] given %p as inputs, returns version %p', | ||||
|     async (num: number, inputs: Map<string, string>, expected: string) => { | ||||
|       inputs.forEach((value: string, name: string) => { | ||||
|         setInput(name, value); | ||||
|       }); | ||||
|       const inp = await context.getInputs(); | ||||
|       expect(context.getVersion(inp)).toEqual(expected); | ||||
|     } | ||||
|   ); | ||||
| }); | ||||
|  | ||||
| // See: https://github.com/actions/toolkit/blob/master/packages/core/src/core.ts#L67 | ||||
| function getInputName(name: string): string { | ||||
|   return `INPUT_${name.replace(/ /g, '_').toUpperCase()}`; | ||||
|   | ||||
							
								
								
									
										10
									
								
								action.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								action.yml
									
									
									
									
									
								
							| @@ -19,7 +19,6 @@ inputs: | ||||
|     required: false | ||||
|   buildkitd-flags: | ||||
|     description: 'BuildKit daemon flags' | ||||
|     default: '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host' | ||||
|     required: false | ||||
|   buildkitd-config: | ||||
|     description: 'BuildKit daemon config file' | ||||
| @@ -35,6 +34,9 @@ inputs: | ||||
|     description: 'Switch to this builder instance' | ||||
|     default: 'true' | ||||
|     required: false | ||||
|   name: | ||||
|     description: 'Name of the builder. If not specified, one will be generated or if it already exists, it will be used instead of creating a new one.' | ||||
|     required: false | ||||
|   endpoint: | ||||
|     description: 'Optional address for docker socket or context from `docker context ls`' | ||||
|     required: false | ||||
| @@ -44,6 +46,10 @@ inputs: | ||||
|   append: | ||||
|     description: 'Append additional nodes to the builder' | ||||
|     required: false | ||||
|   keep-state: | ||||
|     description: 'Keep BuildKit state on cleanup. This is only useful on persistent self-hosted runners.' | ||||
|     default: 'false' | ||||
|     required: false | ||||
|   cache-binary: | ||||
|     description: 'Cache buildx binary to GitHub Actions cache backend' | ||||
|     default: 'true' | ||||
| @@ -52,7 +58,7 @@ inputs: | ||||
|     description: 'Cleanup temp files and remove builder at the end of a job' | ||||
|     default: 'true' | ||||
|     required: false | ||||
|   # deprecated inputs | ||||
|   # TODO: remove deprecated config and config-inline inputs | ||||
|   config: | ||||
|     description: 'BuildKit daemon config file' | ||||
|     deprecationMessage: 'Use buildkitd-config instead' | ||||
|   | ||||
							
								
								
									
										42
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										42
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										6
									
								
								dist/licenses.txt
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/licenses.txt
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -2358,9 +2358,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||||
| IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||
|  | ||||
|  | ||||
| dot-object | ||||
| MIT | ||||
|  | ||||
| encoding | ||||
| MIT | ||||
| Copyright (c) 2012-2014 Andris Reinman | ||||
| @@ -3636,9 +3633,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
| THE SOFTWARE. | ||||
|  | ||||
|  | ||||
| twirp-ts | ||||
| MIT | ||||
|  | ||||
| undici | ||||
| MIT | ||||
| MIT License | ||||
|   | ||||
| @@ -1,3 +1,9 @@ | ||||
| target "_common" { | ||||
|   args = { | ||||
|     BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1 | ||||
|   } | ||||
| } | ||||
|  | ||||
| group "default" { | ||||
|   targets = ["build"] | ||||
| } | ||||
| @@ -11,42 +17,49 @@ group "validate" { | ||||
| } | ||||
|  | ||||
| target "build" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "build-update" | ||||
|   output = ["."] | ||||
| } | ||||
|  | ||||
| target "build-validate" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "build-validate" | ||||
|   output = ["type=cacheonly"] | ||||
| } | ||||
|  | ||||
| target "format" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "format-update" | ||||
|   output = ["."] | ||||
| } | ||||
|  | ||||
| target "lint" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "lint" | ||||
|   output = ["type=cacheonly"] | ||||
| } | ||||
|  | ||||
| target "vendor" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "vendor-update" | ||||
|   output = ["."] | ||||
| } | ||||
|  | ||||
| target "vendor-validate" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "vendor-validate" | ||||
|   output = ["type=cacheonly"] | ||||
| } | ||||
|  | ||||
| target "test" { | ||||
|   inherits = ["_common"] | ||||
|   dockerfile = "dev.Dockerfile" | ||||
|   target = "test-coverage" | ||||
|   output = ["./coverage"] | ||||
|   | ||||
| @@ -25,10 +25,9 @@ | ||||
|   "license": "Apache-2.0", | ||||
|   "packageManager": "yarn@3.6.3", | ||||
|   "dependencies": { | ||||
|     "@actions/core": "^1.10.1", | ||||
|     "@docker/actions-toolkit": "^0.31.0", | ||||
|     "js-yaml": "^4.1.0", | ||||
|     "uuid": "^10.0.0" | ||||
|     "@actions/core": "^1.11.1", | ||||
|     "@docker/actions-toolkit": "^0.62.1", | ||||
|     "js-yaml": "^4.1.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@types/js-yaml": "^4.0.9", | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| import * as uuid from 'uuid'; | ||||
| import * as crypto from 'crypto'; | ||||
| import * as core from '@actions/core'; | ||||
|  | ||||
| import {Docker} from '@docker/actions-toolkit/lib/docker/docker'; | ||||
| @@ -8,6 +8,7 @@ import {Toolkit} from '@docker/actions-toolkit/lib/toolkit'; | ||||
| import {Node} from '@docker/actions-toolkit/lib/types/buildx/builder'; | ||||
|  | ||||
| export const builderNodeEnvPrefix = 'BUILDER_NODE'; | ||||
| const defaultBuildkitdFlags = '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'; | ||||
|  | ||||
| export interface Inputs { | ||||
|   version: string; | ||||
| @@ -24,15 +25,16 @@ export interface Inputs { | ||||
|   append: string; | ||||
|   cacheBinary: boolean; | ||||
|   cleanup: boolean; | ||||
|   keepState: boolean; | ||||
| } | ||||
|  | ||||
| export async function getInputs(): Promise<Inputs> { | ||||
|   return { | ||||
|     version: core.getInput('version'), | ||||
|     name: await getBuilderName(core.getInput('driver') || 'docker-container'), | ||||
|     name: await getBuilderName(core.getInput('name'), core.getInput('driver') || 'docker-container'), | ||||
|     driver: core.getInput('driver') || 'docker-container', | ||||
|     driverOpts: Util.getInputList('driver-opts', {ignoreComma: true, quote: false}), | ||||
|     buildkitdFlags: core.getInput('buildkitd-flags') || '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host', | ||||
|     buildkitdFlags: core.getInput('buildkitd-flags'), | ||||
|     platforms: Util.getInputList('platforms'), | ||||
|     install: core.getBooleanInput('install'), | ||||
|     use: core.getBooleanInput('use'), | ||||
| @@ -40,23 +42,26 @@ export async function getInputs(): Promise<Inputs> { | ||||
|     buildkitdConfig: core.getInput('buildkitd-config') || core.getInput('config'), | ||||
|     buildkitdConfigInline: core.getInput('buildkitd-config-inline') || core.getInput('config-inline'), | ||||
|     append: core.getInput('append'), | ||||
|     keepState: core.getBooleanInput('keep-state'), | ||||
|     cacheBinary: core.getBooleanInput('cache-binary'), | ||||
|     cleanup: core.getBooleanInput('cleanup') | ||||
|   }; | ||||
| } | ||||
|  | ||||
| export async function getBuilderName(driver: string): Promise<string> { | ||||
|   return driver == 'docker' ? await Docker.context() : `builder-${uuid.v4()}`; | ||||
| export async function getBuilderName(name: string, driver: string): Promise<string> { | ||||
|   return driver == 'docker' ? await Docker.context() : name || `builder-${crypto.randomUUID()}`; | ||||
| } | ||||
|  | ||||
| export async function getCreateArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<string>> { | ||||
|   const args: Array<string> = ['create', '--name', inputs.name, '--driver', inputs.driver]; | ||||
|   if (await toolkit.buildx.versionSatisfies('>=0.3.0')) { | ||||
|     await Util.asyncForEach(inputs.driverOpts, async driverOpt => { | ||||
|     await Util.asyncForEach(inputs.driverOpts, async (driverOpt: string) => { | ||||
|       args.push('--driver-opt', driverOpt); | ||||
|     }); | ||||
|     if (driverSupportsFlags(inputs.driver) && inputs.buildkitdFlags) { | ||||
|     if (inputs.buildkitdFlags) { | ||||
|       args.push('--buildkitd-flags', inputs.buildkitdFlags); | ||||
|     } else if (driverSupportsBuildkitdFlags(inputs.driver)) { | ||||
|       args.push('--buildkitd-flags', defaultBuildkitdFlags); | ||||
|     } | ||||
|   } | ||||
|   if (inputs.platforms.length > 0) { | ||||
| @@ -65,12 +70,10 @@ export async function getCreateArgs(inputs: Inputs, toolkit: Toolkit): Promise<A | ||||
|   if (inputs.use) { | ||||
|     args.push('--use'); | ||||
|   } | ||||
|   if (driverSupportsFlags(inputs.driver)) { | ||||
|     if (inputs.buildkitdConfig) { | ||||
|       args.push('--config', toolkit.buildkit.config.resolveFromFile(inputs.buildkitdConfig)); | ||||
|     } else if (inputs.buildkitdConfigInline) { | ||||
|       args.push('--config', toolkit.buildkit.config.resolveFromString(inputs.buildkitdConfigInline)); | ||||
|     } | ||||
|   if (inputs.buildkitdConfig) { | ||||
|     args.push('--config', toolkit.buildkit.config.resolveFromFile(inputs.buildkitdConfig)); | ||||
|   } else if (inputs.buildkitdConfigInline) { | ||||
|     args.push('--config', toolkit.buildkit.config.resolveFromString(inputs.buildkitdConfigInline)); | ||||
|   } | ||||
|   if (inputs.endpoint) { | ||||
|     args.push(inputs.endpoint); | ||||
| @@ -83,14 +86,16 @@ export async function getAppendArgs(inputs: Inputs, node: Node, toolkit: Toolkit | ||||
|   if (node.name) { | ||||
|     args.push('--node', node.name); | ||||
|   } else if (inputs.driver == 'kubernetes' && (await toolkit.buildx.versionSatisfies('<0.11.0'))) { | ||||
|     args.push('--node', `node-${uuid.v4()}`); | ||||
|     args.push('--node', `node-${crypto.randomUUID()}`); | ||||
|   } | ||||
|   if (node['driver-opts'] && (await toolkit.buildx.versionSatisfies('>=0.3.0'))) { | ||||
|     await Util.asyncForEach(node['driver-opts'], async driverOpt => { | ||||
|     await Util.asyncForEach(node['driver-opts'], async (driverOpt: string) => { | ||||
|       args.push('--driver-opt', driverOpt); | ||||
|     }); | ||||
|     if (driverSupportsFlags(inputs.driver) && node['buildkitd-flags']) { | ||||
|     if (node['buildkitd-flags']) { | ||||
|       args.push('--buildkitd-flags', node['buildkitd-flags']); | ||||
|     } else if (driverSupportsBuildkitdFlags(inputs.driver)) { | ||||
|       args.push('--buildkitd-flags', defaultBuildkitdFlags); | ||||
|     } | ||||
|   } | ||||
|   if (node.platforms) { | ||||
| @@ -110,6 +115,20 @@ export async function getInspectArgs(inputs: Inputs, toolkit: Toolkit): Promise< | ||||
|   return args; | ||||
| } | ||||
|  | ||||
| function driverSupportsFlags(driver: string): boolean { | ||||
| function driverSupportsBuildkitdFlags(driver: string): boolean { | ||||
|   return driver == '' || driver == 'docker-container' || driver == 'docker' || driver == 'kubernetes'; | ||||
| } | ||||
|  | ||||
| export function getVersion(inputs: Inputs): string { | ||||
|   const version = inputs.version; | ||||
|   if (inputs.driver === 'cloud') { | ||||
|     if (!version || version === 'latest') { | ||||
|       return 'cloud:latest'; | ||||
|     } | ||||
|     if (version.startsWith('cloud:') || version.startsWith('lab:')) { | ||||
|       return version; | ||||
|     } | ||||
|     return `cloud:${version}`; | ||||
|   } | ||||
|   return version; | ||||
| } | ||||
|   | ||||
							
								
								
									
										123
									
								
								src/main.ts
									
									
									
									
									
								
							
							
						
						
									
										123
									
								
								src/main.ts
									
									
									
									
									
								
							| @@ -1,3 +1,4 @@ | ||||
| import * as crypto from 'crypto'; | ||||
| import * as fs from 'fs'; | ||||
| import * as yaml from 'js-yaml'; | ||||
| import * as core from '@actions/core'; | ||||
| @@ -11,6 +12,7 @@ import {Toolkit} from '@docker/actions-toolkit/lib/toolkit'; | ||||
| import {Util} from '@docker/actions-toolkit/lib/util'; | ||||
|  | ||||
| import {Node} from '@docker/actions-toolkit/lib/types/buildx/builder'; | ||||
| import {ContextInfo} from '@docker/actions-toolkit/lib/types/docker/docker'; | ||||
|  | ||||
| import * as context from './context'; | ||||
| import * as stateHelper from './state-helper'; | ||||
| @@ -20,11 +22,18 @@ actionsToolkit.run( | ||||
|   async () => { | ||||
|     const inputs: context.Inputs = await context.getInputs(); | ||||
|     stateHelper.setCleanup(inputs.cleanup); | ||||
|     const version = context.getVersion(inputs); | ||||
|  | ||||
|     const toolkit = new Toolkit(); | ||||
|     const standalone = await toolkit.buildx.isStandalone(); | ||||
|     stateHelper.setStandalone(standalone); | ||||
|  | ||||
|     if (inputs.keepState && inputs.driver !== 'docker-container') { | ||||
|       // https://docs.docker.com/reference/cli/docker/buildx/rm/#keep-state | ||||
|       throw new Error(`Cannot use keep-state with ${inputs.driver} driver`); | ||||
|     } | ||||
|     stateHelper.setKeepState(inputs.keepState); | ||||
|  | ||||
|     await core.group(`Docker info`, async () => { | ||||
|       try { | ||||
|         await Docker.printVersion(); | ||||
| @@ -35,16 +44,16 @@ actionsToolkit.run( | ||||
|     }); | ||||
|  | ||||
|     let toolPath; | ||||
|     if (Util.isValidRef(inputs.version)) { | ||||
|     if (Util.isValidRef(version)) { | ||||
|       if (standalone) { | ||||
|         throw new Error(`Cannot build from source without the Docker CLI`); | ||||
|       } | ||||
|       await core.group(`Build buildx from source`, async () => { | ||||
|         toolPath = await toolkit.buildxInstall.build(inputs.version, !inputs.cacheBinary); | ||||
|         toolPath = await toolkit.buildxInstall.build(version, !inputs.cacheBinary); | ||||
|       }); | ||||
|     } else if (!(await toolkit.buildx.isAvailable()) || inputs.version) { | ||||
|     } else if (!(await toolkit.buildx.isAvailable()) || version) { | ||||
|       await core.group(`Download buildx from GitHub Releases`, async () => { | ||||
|         toolPath = await toolkit.buildxInstall.download(inputs.version || 'latest', !inputs.cacheBinary); | ||||
|         toolPath = await toolkit.buildxInstall.download(version || 'latest', !inputs.cacheBinary); | ||||
|       }); | ||||
|     } | ||||
|     if (toolPath) { | ||||
| @@ -68,25 +77,74 @@ actionsToolkit.run( | ||||
|     fs.mkdirSync(Buildx.certsDir, {recursive: true}); | ||||
|     stateHelper.setCertsDir(Buildx.certsDir); | ||||
|  | ||||
|     if (inputs.driver !== 'docker') { | ||||
|       await core.group(`Creating a new builder instance`, async () => { | ||||
|         const certsDriverOpts = Buildx.resolveCertsDriverOpts(inputs.driver, inputs.endpoint, { | ||||
|           cacert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CACERT`], | ||||
|           cert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CERT`], | ||||
|           key: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_KEY`] | ||||
|         }); | ||||
|         if (certsDriverOpts.length > 0) { | ||||
|           inputs.driverOpts = [...inputs.driverOpts, ...certsDriverOpts]; | ||||
|         } | ||||
|         const createCmd = await toolkit.buildx.getCommand(await context.getCreateArgs(inputs, toolkit)); | ||||
|         await Exec.getExecOutput(createCmd.command, createCmd.args, { | ||||
|           ignoreReturnCode: true | ||||
|     // if the default context has TLS data loaded and endpoint is not set, then | ||||
|     // we create a temporary docker context only if driver is docker-container | ||||
|     // https://github.com/docker/buildx/blob/b96ad59f64d40873e4959336d294b648bb3937fe/builder/builder.go#L489 | ||||
|     // https://github.com/docker/setup-buildx-action/issues/105 | ||||
|     if (!standalone && inputs.driver == 'docker-container' && (await Docker.context()) == 'default' && inputs.endpoint.length == 0) { | ||||
|       let defaultContextWithTLS: boolean = false; | ||||
|       await core.group(`Inspecting default docker context`, async () => { | ||||
|         await Docker.getExecOutput(['context', 'inspect', '--format=json', 'default'], { | ||||
|           ignoreReturnCode: true, | ||||
|           silent: true | ||||
|         }).then(res => { | ||||
|           if (res.stderr.length > 0 && res.exitCode != 0) { | ||||
|             throw new Error(res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'); | ||||
|             core.info(`Cannot inspect default docker context: ${res.stderr.trim()}`); | ||||
|           } else { | ||||
|             try { | ||||
|               const contextInfo = (<Array<ContextInfo>>JSON.parse(res.stdout.trim()))[0]; | ||||
|               core.info(JSON.stringify(JSON.parse(res.stdout.trim()), undefined, 2)); | ||||
|               const hasTLSData = Object.keys(contextInfo.Endpoints).length > 0 && Object.values(contextInfo.Endpoints)[0].TLSData !== undefined; | ||||
|               const hasTLSMaterial = Object.keys(contextInfo.TLSMaterial).length > 0 && Object.values(contextInfo.TLSMaterial)[0].length > 0; | ||||
|               defaultContextWithTLS = hasTLSData || hasTLSMaterial; | ||||
|             } catch (e) { | ||||
|               core.info(`Unable to parse default docker context info: ${e}`); | ||||
|               core.info(res.stdout.trim()); | ||||
|             } | ||||
|           } | ||||
|         }); | ||||
|       }); | ||||
|       if (defaultContextWithTLS) { | ||||
|         const tmpDockerContext = `buildx-${crypto.randomUUID()}`; | ||||
|         await core.group(`Creating temp docker context (TLS data loaded in default one)`, async () => { | ||||
|           await Docker.getExecOutput(['context', 'create', tmpDockerContext], { | ||||
|             ignoreReturnCode: true | ||||
|           }).then(res => { | ||||
|             if (res.stderr.length > 0 && res.exitCode != 0) { | ||||
|               core.warning(`Cannot create docker context ${tmpDockerContext}: ${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`); | ||||
|             } else { | ||||
|               core.info(`Setting builder endpoint to ${tmpDockerContext} context`); | ||||
|               inputs.endpoint = tmpDockerContext; | ||||
|               stateHelper.setTmpDockerContext(tmpDockerContext); | ||||
|             } | ||||
|           }); | ||||
|         }); | ||||
|       } | ||||
|     } | ||||
|  | ||||
|     if (inputs.driver !== 'docker') { | ||||
|       await core.group(`Creating a new builder instance`, async () => { | ||||
|         if (await toolkit.builder.exists(inputs.name)) { | ||||
|           core.info(`Builder ${inputs.name} already exists, skipping creation`); | ||||
|         } else { | ||||
|           const certsDriverOpts = Buildx.resolveCertsDriverOpts(inputs.driver, inputs.endpoint, { | ||||
|             cacert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CACERT`], | ||||
|             cert: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_CERT`], | ||||
|             key: process.env[`${context.builderNodeEnvPrefix}_0_AUTH_TLS_KEY`] | ||||
|           }); | ||||
|           if (certsDriverOpts.length > 0) { | ||||
|             inputs.driverOpts = [...inputs.driverOpts, ...certsDriverOpts]; | ||||
|           } | ||||
|           const createCmd = await toolkit.buildx.getCommand(await context.getCreateArgs(inputs, toolkit)); | ||||
|           await Exec.getExecOutput(createCmd.command, createCmd.args, { | ||||
|             ignoreReturnCode: true | ||||
|           }).then(res => { | ||||
|             if (res.stderr.length > 0 && res.exitCode != 0) { | ||||
|               throw new Error(res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'); | ||||
|             } | ||||
|           }); | ||||
|         } | ||||
|       }); | ||||
|     } | ||||
|  | ||||
|     if (inputs.append) { | ||||
| @@ -131,6 +189,7 @@ actionsToolkit.run( | ||||
|         throw new Error(`Cannot set buildx as default builder without the Docker CLI`); | ||||
|       } | ||||
|       await core.group(`Setting buildx as default builder`, async () => { | ||||
|         stateHelper.setBuildxIsDefaultBuilder(true); | ||||
|         const installCmd = await toolkit.buildx.getCommand(['install']); | ||||
|         await Exec.getExecOutput(installCmd.command, installCmd.args, { | ||||
|           ignoreReturnCode: true | ||||
| @@ -181,7 +240,7 @@ actionsToolkit.run( | ||||
|   async () => { | ||||
|     if (stateHelper.IsDebug && stateHelper.containerName.length > 0) { | ||||
|       await core.group(`BuildKit container logs`, async () => { | ||||
|         await Exec.getExecOutput('docker', ['logs', `${stateHelper.containerName}`], { | ||||
|         await Docker.getExecOutput(['logs', `${stateHelper.containerName}`], { | ||||
|           ignoreReturnCode: true | ||||
|         }).then(res => { | ||||
|           if (res.stderr.length > 0 && res.exitCode != 0) { | ||||
| @@ -200,7 +259,7 @@ actionsToolkit.run( | ||||
|         const buildx = new Buildx({standalone: stateHelper.standalone}); | ||||
|         const builder = new Builder({buildx: buildx}); | ||||
|         if (await builder.exists(stateHelper.builderName)) { | ||||
|           const rmCmd = await buildx.getCommand(['rm', stateHelper.builderName]); | ||||
|           const rmCmd = await buildx.getCommand(['rm', stateHelper.builderName, ...(stateHelper.keepState ? ['--keep-state'] : [])]); | ||||
|           await Exec.getExecOutput(rmCmd.command, rmCmd.args, { | ||||
|             ignoreReturnCode: true | ||||
|           }).then(res => { | ||||
| @@ -214,10 +273,34 @@ actionsToolkit.run( | ||||
|       }); | ||||
|     } | ||||
|  | ||||
|     if (stateHelper.tmpDockerContext) { | ||||
|       await core.group(`Removing temp docker context`, async () => { | ||||
|         await Exec.getExecOutput('docker', ['context', 'rm', '-f', stateHelper.tmpDockerContext], { | ||||
|           ignoreReturnCode: true | ||||
|         }).then(res => { | ||||
|           if (res.stderr.length > 0 && res.exitCode != 0) { | ||||
|             core.warning(`${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`); | ||||
|           } | ||||
|         }); | ||||
|       }); | ||||
|     } | ||||
|  | ||||
|     if (stateHelper.certsDir.length > 0 && fs.existsSync(stateHelper.certsDir)) { | ||||
|       await core.group(`Cleaning up certificates`, async () => { | ||||
|         fs.rmSync(stateHelper.certsDir, {recursive: true}); | ||||
|       }); | ||||
|     } | ||||
|  | ||||
|     if (stateHelper.buildxIsDefaultBuilder) { | ||||
|       await core.group(`Restoring default builder`, async () => { | ||||
|         await Exec.getExecOutput('docker', ['buildx', 'uninstall'], { | ||||
|           ignoreReturnCode: true | ||||
|         }).then(res => { | ||||
|           if (res.stderr.length > 0 && res.exitCode != 0) { | ||||
|             core.warning(`${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`); | ||||
|           } | ||||
|         }); | ||||
|       }); | ||||
|     } | ||||
|   } | ||||
| ); | ||||
|   | ||||
| @@ -6,7 +6,10 @@ export const builderName = process.env['STATE_builderName'] || ''; | ||||
| export const builderDriver = process.env['STATE_builderDriver'] || ''; | ||||
| export const containerName = process.env['STATE_containerName'] || ''; | ||||
| export const certsDir = process.env['STATE_certsDir'] || ''; | ||||
| export const tmpDockerContext = process.env['STATE_tmpDockerContext'] || ''; | ||||
| export const cleanup = /true/i.test(process.env['STATE_cleanup'] || ''); | ||||
| export const buildxIsDefaultBuilder = /true/i.test(process.env['STATE_buildxIsDefaultBuilder'] || ''); | ||||
| export const keepState = /true/i.test(process.env['STATE_keepState'] || ''); | ||||
|  | ||||
| export function setDebug(debug: string) { | ||||
|   core.saveState('isDebug', debug); | ||||
| @@ -32,6 +35,18 @@ export function setCertsDir(certsDir: string) { | ||||
|   core.saveState('certsDir', certsDir); | ||||
| } | ||||
|  | ||||
| export function setTmpDockerContext(tmpDockerContext: string) { | ||||
|   core.saveState('tmpDockerContext', tmpDockerContext); | ||||
| } | ||||
|  | ||||
| export function setCleanup(cleanup: boolean) { | ||||
|   core.saveState('cleanup', cleanup); | ||||
| } | ||||
|  | ||||
| export function setBuildxIsDefaultBuilder(buildxIsDefaultBuilder: boolean) { | ||||
|   core.saveState('buildxIsDefaultBuilder', buildxIsDefaultBuilder); | ||||
| } | ||||
|  | ||||
| export function setKeepState(keepState: boolean) { | ||||
|   core.saveState('keepState', keepState); | ||||
| } | ||||
|   | ||||
							
								
								
									
										372
									
								
								yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										372
									
								
								yarn.lock
									
									
									
									
									
								
							| @@ -12,9 +12,9 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/artifact@npm:^2.1.7": | ||||
|   version: 2.1.7 | ||||
|   resolution: "@actions/artifact@npm:2.1.7" | ||||
| "@actions/artifact@npm:^2.3.2": | ||||
|   version: 2.3.2 | ||||
|   resolution: "@actions/artifact@npm:2.3.2" | ||||
|   dependencies: | ||||
|     "@actions/core": ^1.10.0 | ||||
|     "@actions/github": ^5.1.1 | ||||
| @@ -26,19 +26,17 @@ __metadata: | ||||
|     "@octokit/request-error": ^5.0.0 | ||||
|     "@protobuf-ts/plugin": ^2.2.3-alpha.1 | ||||
|     archiver: ^7.0.1 | ||||
|     crypto: ^1.0.1 | ||||
|     jwt-decode: ^3.1.2 | ||||
|     twirp-ts: ^2.5.0 | ||||
|     unzip-stream: ^0.3.1 | ||||
|   checksum: 346c7caf43bdeb4a96c044ca3a6a005d82b977178b1a6be2c6954dfd59fef3344d2576bdd07c6cac9b54207cc88d7b1161cabd08c7cc15a1db86bf82463b36c7 | ||||
|   checksum: 78ee41b43800accb2f3527e1733217c43d53693e7f96ce2470b16890fb84f5c2ebaaa6048ccdb6cfe188b54c02779ec99623c6932558e757f6829cfde203cf2c | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/cache@npm:^3.2.4": | ||||
|   version: 3.2.4 | ||||
|   resolution: "@actions/cache@npm:3.2.4" | ||||
| "@actions/cache@npm:^4.0.3": | ||||
|   version: 4.0.3 | ||||
|   resolution: "@actions/cache@npm:4.0.3" | ||||
|   dependencies: | ||||
|     "@actions/core": ^1.10.0 | ||||
|     "@actions/core": ^1.11.1 | ||||
|     "@actions/exec": ^1.0.1 | ||||
|     "@actions/glob": ^0.1.0 | ||||
|     "@actions/http-client": ^2.1.1 | ||||
| @@ -46,13 +44,13 @@ __metadata: | ||||
|     "@azure/abort-controller": ^1.1.0 | ||||
|     "@azure/ms-rest-js": ^2.6.0 | ||||
|     "@azure/storage-blob": ^12.13.0 | ||||
|     "@protobuf-ts/plugin": ^2.9.4 | ||||
|     semver: ^6.3.1 | ||||
|     uuid: ^3.3.3 | ||||
|   checksum: 5bf5f7541bea4906b553440a9ffee5699e11dfb729365c6cb0bbd37e147a1a0993369fdad16bfa3e2b01ec7fa57dac66276278bfd4a389009246a75ea953e61d | ||||
|   checksum: ee9c2a21a70bd3f35c63f302af478e23f135c26deb77ea2e4eed29c62766a4b201fc7435651c0d56fa504c02d203107e3bdfda1dba18a3ee09338e1dfc3f2fe8 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/core@npm:^1.10.0, @actions/core@npm:^1.10.1, @actions/core@npm:^1.2.6": | ||||
| "@actions/core@npm:^1.10.0, @actions/core@npm:^1.2.6": | ||||
|   version: 1.10.1 | ||||
|   resolution: "@actions/core@npm:1.10.1" | ||||
|   dependencies: | ||||
| @@ -62,6 +60,16 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/core@npm:^1.11.1": | ||||
|   version: 1.11.1 | ||||
|   resolution: "@actions/core@npm:1.11.1" | ||||
|   dependencies: | ||||
|     "@actions/exec": ^1.1.1 | ||||
|     "@actions/http-client": ^2.0.1 | ||||
|   checksum: 9ac7a3e0b478bfefd862dcb4ddaa1d8c3f9076bb1931d3d280918d1749e7783480c6a009c1b009c8bf5093e2d77d9f4e023d70416145bf246f0071736d4ef839 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/exec@npm:^1.0.0, @actions/exec@npm:^1.0.1, @actions/exec@npm:^1.1.1": | ||||
|   version: 1.1.1 | ||||
|   resolution: "@actions/exec@npm:1.1.1" | ||||
| @@ -83,15 +91,18 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/github@npm:^6.0.0": | ||||
|   version: 6.0.0 | ||||
|   resolution: "@actions/github@npm:6.0.0" | ||||
| "@actions/github@npm:^6.0.1": | ||||
|   version: 6.0.1 | ||||
|   resolution: "@actions/github@npm:6.0.1" | ||||
|   dependencies: | ||||
|     "@actions/http-client": ^2.2.0 | ||||
|     "@octokit/core": ^5.0.1 | ||||
|     "@octokit/plugin-paginate-rest": ^9.0.0 | ||||
|     "@octokit/plugin-rest-endpoint-methods": ^10.0.0 | ||||
|   checksum: 81831a78377175d8825fc0b94247ff366c0e87ad1dfa48df9b30b8659506f216dcf1e2d3124fcd318839b92c24ba20165e238b3cc11a34db89c69c40825e9ccf | ||||
|     "@octokit/plugin-paginate-rest": ^9.2.2 | ||||
|     "@octokit/plugin-rest-endpoint-methods": ^10.4.0 | ||||
|     "@octokit/request": ^8.4.1 | ||||
|     "@octokit/request-error": ^5.1.1 | ||||
|     undici: ^5.28.5 | ||||
|   checksum: ba6a162a5727dea2f3f3fc450e02c5b336ceb65a0e26ba9ad9c62b20f4f5b2625ca347a9311a4905ef3c92378ca022caba841a283cb7f2e4175d79e3d1ecaf12 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| @@ -105,7 +116,7 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/http-client@npm:^2.0.1, @actions/http-client@npm:^2.1.0, @actions/http-client@npm:^2.1.1, @actions/http-client@npm:^2.2.0, @actions/http-client@npm:^2.2.1": | ||||
| "@actions/http-client@npm:^2.0.1, @actions/http-client@npm:^2.1.0, @actions/http-client@npm:^2.1.1, @actions/http-client@npm:^2.2.0": | ||||
|   version: 2.2.1 | ||||
|   resolution: "@actions/http-client@npm:2.2.1" | ||||
|   dependencies: | ||||
| @@ -115,6 +126,16 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/http-client@npm:^2.2.3": | ||||
|   version: 2.2.3 | ||||
|   resolution: "@actions/http-client@npm:2.2.3" | ||||
|   dependencies: | ||||
|     tunnel: ^0.0.6 | ||||
|     undici: ^5.25.4 | ||||
|   checksum: 5d395df575d30ae599efa10dd715e72944b015e753db61f0a823f737acbb0e99743d4a9f25e812b18ec8cc34f86c73565d075c449e01ffa891577b6595212dde | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/io@npm:^1.0.1, @actions/io@npm:^1.1.1, @actions/io@npm:^1.1.3": | ||||
|   version: 1.1.3 | ||||
|   resolution: "@actions/io@npm:1.1.3" | ||||
| @@ -122,17 +143,16 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@actions/tool-cache@npm:^2.0.1": | ||||
|   version: 2.0.1 | ||||
|   resolution: "@actions/tool-cache@npm:2.0.1" | ||||
| "@actions/tool-cache@npm:^2.0.2": | ||||
|   version: 2.0.2 | ||||
|   resolution: "@actions/tool-cache@npm:2.0.2" | ||||
|   dependencies: | ||||
|     "@actions/core": ^1.2.6 | ||||
|     "@actions/core": ^1.11.1 | ||||
|     "@actions/exec": ^1.0.0 | ||||
|     "@actions/http-client": ^2.0.1 | ||||
|     "@actions/io": ^1.1.1 | ||||
|     semver: ^6.1.0 | ||||
|     uuid: ^3.3.2 | ||||
|   checksum: 33f6393b9b163e4af2b9759e8d37cda4f018f10ddda3643355bb8a9f92d732e5bdff089cf8036b46d181e1ef2b3210b895b2f746fdf54487afe88f1d340aa9e1 | ||||
|   checksum: c2bab4297be752bdda9dd61f8159a201ad0d37d026134b960f1edcc9418a80387f44d1f24a070fe992c44dcfc28a152f70600e76669bb0578132789a6f37a596 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| @@ -1071,32 +1091,32 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@docker/actions-toolkit@npm:^0.31.0": | ||||
|   version: 0.31.0 | ||||
|   resolution: "@docker/actions-toolkit@npm:0.31.0" | ||||
| "@docker/actions-toolkit@npm:^0.62.1": | ||||
|   version: 0.62.1 | ||||
|   resolution: "@docker/actions-toolkit@npm:0.62.1" | ||||
|   dependencies: | ||||
|     "@actions/artifact": ^2.1.7 | ||||
|     "@actions/cache": ^3.2.4 | ||||
|     "@actions/core": ^1.10.1 | ||||
|     "@actions/artifact": ^2.3.2 | ||||
|     "@actions/cache": ^4.0.3 | ||||
|     "@actions/core": ^1.11.1 | ||||
|     "@actions/exec": ^1.1.1 | ||||
|     "@actions/github": ^6.0.0 | ||||
|     "@actions/http-client": ^2.2.1 | ||||
|     "@actions/github": ^6.0.1 | ||||
|     "@actions/http-client": ^2.2.3 | ||||
|     "@actions/io": ^1.1.3 | ||||
|     "@actions/tool-cache": ^2.0.1 | ||||
|     "@actions/tool-cache": ^2.0.2 | ||||
|     "@azure/storage-blob": ^12.15.0 | ||||
|     "@octokit/core": ^5.1.0 | ||||
|     "@octokit/plugin-rest-endpoint-methods": ^10.4.0 | ||||
|     async-retry: ^1.3.3 | ||||
|     csv-parse: ^5.5.6 | ||||
|     csv-parse: ^5.6.0 | ||||
|     gunzip-maybe: ^1.4.2 | ||||
|     handlebars: ^4.7.8 | ||||
|     he: ^1.2.0 | ||||
|     js-yaml: ^4.1.0 | ||||
|     jwt-decode: ^4.0.0 | ||||
|     semver: ^7.6.2 | ||||
|     semver: ^7.7.2 | ||||
|     tar-stream: ^3.1.7 | ||||
|     tmp: ^0.2.3 | ||||
|   checksum: 34fdc08b6380bbee05fc740b161bb1172658da6d3e58f0f9cf8bc12011da638b37314e2a92a689542955189459ace241769c9f247a6917bf8365bc461221eecd | ||||
|   checksum: 72dfef5073c7b638a73b53ccd48ec9dc3fa0e0c1b1b0aaf711fc872ef4ef0a882909271c01913f335efc5f868e4062e6e7720b92d6c3a605ecb6cc30d3001f9d | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| @@ -1685,6 +1705,16 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/endpoint@npm:^9.0.6": | ||||
|   version: 9.0.6 | ||||
|   resolution: "@octokit/endpoint@npm:9.0.6" | ||||
|   dependencies: | ||||
|     "@octokit/types": ^13.1.0 | ||||
|     universal-user-agent: ^6.0.0 | ||||
|   checksum: f853c08f0777a8cc7c3d2509835d478e11a76d722f807d4f2ad7c0e64bf4dd159536409f466b367a907886aa3b78574d3d09ed95ac462c769e4fccaaad81e72a | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/graphql@npm:^4.5.8": | ||||
|   version: 4.8.0 | ||||
|   resolution: "@octokit/graphql@npm:4.8.0" | ||||
| @@ -1728,6 +1758,13 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/openapi-types@npm:^24.2.0": | ||||
|   version: 24.2.0 | ||||
|   resolution: "@octokit/openapi-types@npm:24.2.0" | ||||
|   checksum: 3c2d2f4cafd21c8a1e6a6fe6b56df6a3c09bc52ab6f829c151f9397694d028aa183ae856f08e006ee7ecaa7bd7eb413a903fbc0ffa6403e7b284ddcda20b1294 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/plugin-paginate-rest@npm:^2.17.0": | ||||
|   version: 2.21.3 | ||||
|   resolution: "@octokit/plugin-paginate-rest@npm:2.21.3" | ||||
| @@ -1739,14 +1776,14 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/plugin-paginate-rest@npm:^9.0.0": | ||||
|   version: 9.0.0 | ||||
|   resolution: "@octokit/plugin-paginate-rest@npm:9.0.0" | ||||
| "@octokit/plugin-paginate-rest@npm:^9.2.2": | ||||
|   version: 9.2.2 | ||||
|   resolution: "@octokit/plugin-paginate-rest@npm:9.2.2" | ||||
|   dependencies: | ||||
|     "@octokit/types": ^12.0.0 | ||||
|     "@octokit/types": ^12.6.0 | ||||
|   peerDependencies: | ||||
|     "@octokit/core": ">=5" | ||||
|   checksum: 4a8543f3e45c4916f94edc57d66106ee60da9fd4edccd7c3a2ddd00da1fc4eb2e1b2bcb3d6cb981a050edf883100c5004d0b81497568d4ac9138310a2188a458 | ||||
|     "@octokit/core": 5 | ||||
|   checksum: ea2a3ebf6abc128a1996c5ff7148ebe755ee2ed001aa0c1d3088d67a9d78b093d84820e3ec73bfb165ca8774943a1158afdae4cf7b90b0a07f12ebbe1d8a428b | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| @@ -1759,7 +1796,7 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/plugin-rest-endpoint-methods@npm:^10.0.0, @octokit/plugin-rest-endpoint-methods@npm:^10.4.0": | ||||
| "@octokit/plugin-rest-endpoint-methods@npm:^10.4.0": | ||||
|   version: 10.4.0 | ||||
|   resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.4.0" | ||||
|   dependencies: | ||||
| @@ -1814,6 +1851,17 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/request-error@npm:^5.1.1": | ||||
|   version: 5.1.1 | ||||
|   resolution: "@octokit/request-error@npm:5.1.1" | ||||
|   dependencies: | ||||
|     "@octokit/types": ^13.1.0 | ||||
|     deprecation: ^2.0.0 | ||||
|     once: ^1.4.0 | ||||
|   checksum: 17d0b3f59c2a8a285715bfe6a85168d9c417aa7a0ff553b9be4198a3bc8bb00384a3530221a448eb19f8f07ea9fc48d264869624f5f84fa63a948a7af8cddc8c | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/request@npm:^5.6.0, @octokit/request@npm:^5.6.3": | ||||
|   version: 5.6.3 | ||||
|   resolution: "@octokit/request@npm:5.6.3" | ||||
| @@ -1841,6 +1889,18 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/request@npm:^8.4.1": | ||||
|   version: 8.4.1 | ||||
|   resolution: "@octokit/request@npm:8.4.1" | ||||
|   dependencies: | ||||
|     "@octokit/endpoint": ^9.0.6 | ||||
|     "@octokit/request-error": ^5.1.1 | ||||
|     "@octokit/types": ^13.1.0 | ||||
|     universal-user-agent: ^6.0.0 | ||||
|   checksum: 0ba76728583543baeef9fda98690bc86c57e0a3ccac8c189d2b7d144d248c89167eb37a071ed8fead8f4da0a1c55c4dd98a8fc598769c263b95179fb200959de | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/types@npm:^12.0.0": | ||||
|   version: 12.0.0 | ||||
|   resolution: "@octokit/types@npm:12.0.0" | ||||
| @@ -1859,6 +1919,15 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/types@npm:^13.1.0": | ||||
|   version: 13.10.0 | ||||
|   resolution: "@octokit/types@npm:13.10.0" | ||||
|   dependencies: | ||||
|     "@octokit/openapi-types": ^24.2.0 | ||||
|   checksum: fca3764548d5872535b9025c3b5fe6373fe588b287cb5b5259364796c1931bbe5e9ab8a86a5274ce43bb2b3e43b730067c3b86b6b1ade12a98cd59b2e8b3610d | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@octokit/types@npm:^6.0.3, @octokit/types@npm:^6.16.1, @octokit/types@npm:^6.39.0, @octokit/types@npm:^6.40.0": | ||||
|   version: 6.41.0 | ||||
|   resolution: "@octokit/types@npm:6.41.0" | ||||
| @@ -1889,7 +1958,7 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@protobuf-ts/plugin-framework@npm:^2.0.7, @protobuf-ts/plugin-framework@npm:^2.9.4": | ||||
| "@protobuf-ts/plugin-framework@npm:^2.9.4": | ||||
|   version: 2.9.4 | ||||
|   resolution: "@protobuf-ts/plugin-framework@npm:2.9.4" | ||||
|   dependencies: | ||||
| @@ -1899,7 +1968,7 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "@protobuf-ts/plugin@npm:^2.2.3-alpha.1": | ||||
| "@protobuf-ts/plugin@npm:^2.2.3-alpha.1, @protobuf-ts/plugin@npm:^2.9.4": | ||||
|   version: 2.9.4 | ||||
|   resolution: "@protobuf-ts/plugin@npm:2.9.4" | ||||
|   dependencies: | ||||
| @@ -2782,16 +2851,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "camel-case@npm:^4.1.2": | ||||
|   version: 4.1.2 | ||||
|   resolution: "camel-case@npm:4.1.2" | ||||
|   dependencies: | ||||
|     pascal-case: ^3.1.2 | ||||
|     tslib: ^2.0.3 | ||||
|   checksum: bcbd25cd253b3cbc69be3f535750137dbf2beb70f093bdc575f73f800acc8443d34fd52ab8f0a2413c34f1e8203139ffc88428d8863e4dfe530cfb257a379ad6 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "camelcase@npm:^5.3.1": | ||||
|   version: 5.3.1 | ||||
|   resolution: "camelcase@npm:5.3.1" | ||||
| @@ -2951,13 +3010,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "commander@npm:^6.1.0": | ||||
|   version: 6.2.1 | ||||
|   resolution: "commander@npm:6.2.1" | ||||
|   checksum: d7090410c0de6bc5c67d3ca41c41760d6d268f3c799e530aafb73b7437d1826bbf0d2a3edac33f8b57cc9887b4a986dce307fa5557e109be40eadb7c43b21742 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "compress-commons@npm:^6.0.2": | ||||
|   version: 6.0.2 | ||||
|   resolution: "compress-commons@npm:6.0.2" | ||||
| @@ -3045,27 +3097,20 @@ __metadata: | ||||
|   linkType: hard | ||||
|  | ||||
| "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": | ||||
|   version: 7.0.3 | ||||
|   resolution: "cross-spawn@npm:7.0.3" | ||||
|   version: 7.0.6 | ||||
|   resolution: "cross-spawn@npm:7.0.6" | ||||
|   dependencies: | ||||
|     path-key: ^3.1.0 | ||||
|     shebang-command: ^2.0.0 | ||||
|     which: ^2.0.1 | ||||
|   checksum: 671cc7c7288c3a8406f3c69a3ae2fc85555c04169e9d611def9a675635472614f1c0ed0ef80955d5b6d4e724f6ced67f0ad1bb006c2ea643488fcfef994d7f52 | ||||
|   checksum: 8d306efacaf6f3f60e0224c287664093fa9185680b2d195852ba9a863f85d02dcc737094c6e512175f8ee0161f9b87c73c6826034c2422e39de7d6569cf4503b | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "crypto@npm:^1.0.1": | ||||
|   version: 1.0.1 | ||||
|   resolution: "crypto@npm:1.0.1" | ||||
|   checksum: 087fe3165bd94c333a49e6ed66a0193911f63eac38a24f379b3001a5fe260a59c413646e53a0f67875ba13902b2686d81dc703cb2c147a4ec727dcdc04e5645e | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "csv-parse@npm:^5.5.6": | ||||
|   version: 5.5.6 | ||||
|   resolution: "csv-parse@npm:5.5.6" | ||||
|   checksum: ee06f97f674487dc1d001b360de8ea510a41b9d971abf43bcf9c3be22c83a3634df0d3ebfbe52fd49d145077066be7ff9f25de3fc6b71aefb973099b04147a25 | ||||
| "csv-parse@npm:^5.6.0": | ||||
|   version: 5.6.0 | ||||
|   resolution: "csv-parse@npm:5.6.0" | ||||
|   checksum: 173e176bdaf212bab37d0f6d39a06d039d24a1c0ee40b9f1023ebf8b36095934807deeb493c0fb58592b39b0682ccd0be5c9e8d2b137c08807e7031595ea7a51 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| @@ -3167,8 +3212,8 @@ __metadata: | ||||
|   version: 0.0.0-use.local | ||||
|   resolution: "docker-setup-buildx@workspace:." | ||||
|   dependencies: | ||||
|     "@actions/core": ^1.10.1 | ||||
|     "@docker/actions-toolkit": ^0.31.0 | ||||
|     "@actions/core": ^1.11.1 | ||||
|     "@docker/actions-toolkit": ^0.62.1 | ||||
|     "@types/js-yaml": ^4.0.9 | ||||
|     "@types/node": ^20.12.12 | ||||
|     "@types/uuid": ^10.0.0 | ||||
| @@ -3185,7 +3230,6 @@ __metadata: | ||||
|     ts-jest: ^29.1.2 | ||||
|     ts-node: ^10.9.2 | ||||
|     typescript: ^5.4.5 | ||||
|     uuid: ^10.0.0 | ||||
|   languageName: unknown | ||||
|   linkType: soft | ||||
|  | ||||
| @@ -3198,18 +3242,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "dot-object@npm:^2.1.4": | ||||
|   version: 2.1.5 | ||||
|   resolution: "dot-object@npm:2.1.5" | ||||
|   dependencies: | ||||
|     commander: ^6.1.0 | ||||
|     glob: ^7.1.6 | ||||
|   bin: | ||||
|     dot-object: bin/dot-object | ||||
|   checksum: 3e5a681bbea32dfc1cd0b1254adc93531bd462f7474a355e981738ef37253e4bc5c9482926289ef4d3c6ef9adb0a7ed894725ed3a69aa22063343dc2a57dd764 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": | ||||
|   version: 3.7.1 | ||||
|   resolution: "duplexify@npm:3.7.1" | ||||
| @@ -3877,20 +3909,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "glob@npm:^7.1.6": | ||||
|   version: 7.2.3 | ||||
|   resolution: "glob@npm:7.2.3" | ||||
|   dependencies: | ||||
|     fs.realpath: ^1.0.0 | ||||
|     inflight: ^1.0.4 | ||||
|     inherits: 2 | ||||
|     minimatch: ^3.1.1 | ||||
|     once: ^1.3.0 | ||||
|     path-is-absolute: ^1.0.0 | ||||
|   checksum: 29452e97b38fa704dabb1d1045350fb2467cf0277e155aa9ff7077e90ad81d1ea9d53d3ee63bd37c05b09a065e90f16aec4a65f5b8de401d1dac40bc5605d133 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "globals@npm:^11.1.0": | ||||
|   version: 11.12.0 | ||||
|   resolution: "globals@npm:11.12.0" | ||||
| @@ -4979,15 +4997,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "lower-case@npm:^2.0.2": | ||||
|   version: 2.0.2 | ||||
|   resolution: "lower-case@npm:2.0.2" | ||||
|   dependencies: | ||||
|     tslib: ^2.0.3 | ||||
|   checksum: 83a0a5f159ad7614bee8bf976b96275f3954335a84fad2696927f609ddae902802c4f3312d86668722e668bef41400254807e1d3a7f2e8c3eede79691aa1f010 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": | ||||
|   version: 10.2.2 | ||||
|   resolution: "lru-cache@npm:10.2.2" | ||||
| @@ -5105,7 +5114,7 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": | ||||
| "minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.2": | ||||
|   version: 3.1.2 | ||||
|   resolution: "minimatch@npm:3.1.2" | ||||
|   dependencies: | ||||
| @@ -5271,16 +5280,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "no-case@npm:^3.0.4": | ||||
|   version: 3.0.4 | ||||
|   resolution: "no-case@npm:3.0.4" | ||||
|   dependencies: | ||||
|     lower-case: ^2.0.2 | ||||
|     tslib: ^2.0.3 | ||||
|   checksum: 0b2ebc113dfcf737d48dde49cfebf3ad2d82a8c3188e7100c6f375e30eafbef9e9124aadc3becef237b042fd5eb0aad2fd78669c20972d045bbe7fea8ba0be5c | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "node-fetch@npm:^2.6.7": | ||||
|   version: 2.6.9 | ||||
|   resolution: "node-fetch@npm:2.6.9" | ||||
| @@ -5475,16 +5474,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "pascal-case@npm:^3.1.2": | ||||
|   version: 3.1.2 | ||||
|   resolution: "pascal-case@npm:3.1.2" | ||||
|   dependencies: | ||||
|     no-case: ^3.0.4 | ||||
|     tslib: ^2.0.3 | ||||
|   checksum: ba98bfd595fc91ef3d30f4243b1aee2f6ec41c53b4546bfa3039487c367abaa182471dcfc830a1f9e1a0df00c14a370514fa2b3a1aacc68b15a460c31116873e | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "path-exists@npm:^4.0.0": | ||||
|   version: 4.0.0 | ||||
|   resolution: "path-exists@npm:4.0.0" | ||||
| @@ -5533,13 +5522,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "path-to-regexp@npm:^6.2.0": | ||||
|   version: 6.2.2 | ||||
|   resolution: "path-to-regexp@npm:6.2.2" | ||||
|   checksum: b7b0005c36f5099f9ed1fb20a820d2e4ed1297ffe683ea1d678f5e976eb9544f01debb281369dabdc26da82e6453901bf71acf2c7ed14b9243536c2a45286c33 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "path-type@npm:^4.0.0": | ||||
|   version: 4.0.0 | ||||
|   resolution: "path-type@npm:4.0.0" | ||||
| @@ -5604,15 +5586,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "prettier@npm:^2.5.1": | ||||
|   version: 2.8.8 | ||||
|   resolution: "prettier@npm:2.8.8" | ||||
|   bin: | ||||
|     prettier: bin-prettier.js | ||||
|   checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "prettier@npm:^3.2.5": | ||||
|   version: 3.2.5 | ||||
|   resolution: "prettier@npm:3.2.5" | ||||
| @@ -5940,7 +5913,7 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "semver@npm:^7.6.0, semver@npm:^7.6.2": | ||||
| "semver@npm:^7.6.0": | ||||
|   version: 7.6.2 | ||||
|   resolution: "semver@npm:7.6.2" | ||||
|   bin: | ||||
| @@ -5949,6 +5922,15 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "semver@npm:^7.7.2": | ||||
|   version: 7.7.2 | ||||
|   resolution: "semver@npm:7.7.2" | ||||
|   bin: | ||||
|     semver: bin/semver.js | ||||
|   checksum: dd94ba8f1cbc903d8eeb4dd8bf19f46b3deb14262b6717d0de3c804b594058ae785ef2e4b46c5c3b58733c99c83339068203002f9e37cfe44f7e2cc5e3d2f621 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "shebang-command@npm:^2.0.0": | ||||
|   version: 2.0.0 | ||||
|   resolution: "shebang-command@npm:2.0.0" | ||||
| @@ -6439,16 +6421,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "ts-poet@npm:^4.5.0": | ||||
|   version: 4.15.0 | ||||
|   resolution: "ts-poet@npm:4.15.0" | ||||
|   dependencies: | ||||
|     lodash: ^4.17.15 | ||||
|     prettier: ^2.5.1 | ||||
|   checksum: 93490e8b5921e23ac65afdecc00b4dd53f3560d7d9c19778a3f0bd9a300ba7ca71585a989d564508313bc73e8c431413714d513ebca2d5c428f909ec36bcf6e9 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "tslib@npm:^1.10.0": | ||||
|   version: 1.14.1 | ||||
|   resolution: "tslib@npm:1.14.1" | ||||
| @@ -6456,13 +6428,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "tslib@npm:^2.0.3, tslib@npm:^2.6.2": | ||||
|   version: 2.6.2 | ||||
|   resolution: "tslib@npm:2.6.2" | ||||
|   checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "tslib@npm:^2.2.0": | ||||
|   version: 2.6.0 | ||||
|   resolution: "tslib@npm:2.6.0" | ||||
| @@ -6470,6 +6435,13 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "tslib@npm:^2.6.2": | ||||
|   version: 2.6.2 | ||||
|   resolution: "tslib@npm:2.6.2" | ||||
|   checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "tunnel@npm:0.0.6, tunnel@npm:^0.0.6": | ||||
|   version: 0.0.6 | ||||
|   resolution: "tunnel@npm:0.0.6" | ||||
| @@ -6477,30 +6449,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "twirp-ts@npm:^2.5.0": | ||||
|   version: 2.5.0 | ||||
|   resolution: "twirp-ts@npm:2.5.0" | ||||
|   dependencies: | ||||
|     "@protobuf-ts/plugin-framework": ^2.0.7 | ||||
|     camel-case: ^4.1.2 | ||||
|     dot-object: ^2.1.4 | ||||
|     path-to-regexp: ^6.2.0 | ||||
|     ts-poet: ^4.5.0 | ||||
|     yaml: ^1.10.2 | ||||
|   peerDependencies: | ||||
|     "@protobuf-ts/plugin": ^2.5.0 | ||||
|     ts-proto: ^1.81.3 | ||||
|   peerDependenciesMeta: | ||||
|     "@protobuf-ts/plugin": | ||||
|       optional: true | ||||
|     ts-proto: | ||||
|       optional: true | ||||
|   bin: | ||||
|     protoc-gen-twirp_ts: protoc-gen-twirp_ts | ||||
|   checksum: e7cf87d77ab4d2cd327c9d8307e82ff61afc5af56883aed5fb6ac7d57999b646945e11158be87c10f0340aeef2efde6eb896f2efd60599498f17b4f310d66e4f | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "type-check@npm:^0.4.0, type-check@npm:~0.4.0": | ||||
|   version: 0.4.0 | ||||
|   resolution: "type-check@npm:0.4.0" | ||||
| @@ -6596,6 +6544,15 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "undici@npm:^5.28.5": | ||||
|   version: 5.29.0 | ||||
|   resolution: "undici@npm:5.29.0" | ||||
|   dependencies: | ||||
|     "@fastify/busboy": ^2.0.0 | ||||
|   checksum: a25b5462c1b6ffb974f5ffc492ffd64146a9983aad0cbda6fde65e2b22f6f1acd43f09beacc66cc47624a113bd0c684ffc60366102b6a21b038fbfafb7d75195 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "unique-filename@npm:^3.0.0": | ||||
|   version: 3.0.0 | ||||
|   resolution: "unique-filename@npm:3.0.0" | ||||
| @@ -6661,24 +6618,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "uuid@npm:^10.0.0": | ||||
|   version: 10.0.0 | ||||
|   resolution: "uuid@npm:10.0.0" | ||||
|   bin: | ||||
|     uuid: dist/bin/uuid | ||||
|   checksum: 4b81611ade2885d2313ddd8dc865d93d8dccc13ddf901745edca8f86d99bc46d7a330d678e7532e7ebf93ce616679fb19b2e3568873ac0c14c999032acb25869 | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "uuid@npm:^3.3.2, uuid@npm:^3.3.3": | ||||
|   version: 3.4.0 | ||||
|   resolution: "uuid@npm:3.4.0" | ||||
|   bin: | ||||
|     uuid: ./bin/uuid | ||||
|   checksum: 58de2feed61c59060b40f8203c0e4ed7fd6f99d42534a499f1741218a1dd0c129f4aa1de797bcf822c8ea5da7e4137aa3673431a96dae729047f7aca7b27866f | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "uuid@npm:^8.3.0, uuid@npm:^8.3.2": | ||||
|   version: 8.3.2 | ||||
|   resolution: "uuid@npm:8.3.2" | ||||
| @@ -6845,13 +6784,6 @@ __metadata: | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "yaml@npm:^1.10.2": | ||||
|   version: 1.10.2 | ||||
|   resolution: "yaml@npm:1.10.2" | ||||
|   checksum: ce4ada136e8a78a0b08dc10b4b900936912d15de59905b2bf415b4d33c63df1d555d23acb2a41b23cf9fb5da41c256441afca3d6509de7247daa062fd2c5ea5f | ||||
|   languageName: node | ||||
|   linkType: hard | ||||
|  | ||||
| "yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1": | ||||
|   version: 21.1.1 | ||||
|   resolution: "yargs-parser@npm:21.1.1" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user