Compare commits
	
		
			36 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 14487ce63c | ||
|   | 0ec91264d8 | ||
|   | b749522b90 | ||
|   | c566248492 | ||
|   | 13275dd76e | ||
|   | 67dc78bbaf | ||
|   | 0760504437 | ||
|   | 1c198f4467 | ||
|   | 288d9e2e4a | ||
|   | 88844b95d8 | ||
|   | 1be4244e8d | ||
|   | 094d2bc0cd | ||
|   | 548776e8d0 | ||
|   | 91838c2ba3 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 1332e65dc3 | ||
|   | 66147ca503 | ||
|   | 8ea72f78e8 | ||
|   | 6481840af9 | ||
|   | 84ad562665 | ||
|   | 9bea05fc44 | ||
|   | 471d1dc4e0 | ||
|   | b89ff0a6f2 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 1e3ae3a4d3 | ||
|   | b16f42f92a | ||
|   | dc0fea5e62 | ||
|   | 0adf995921 | ||
|   | d88cd289df | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 3d09a6bd70 | ||
|   | ca877d9245 | ||
|   | d2fe919bb5 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | f0fc9ece82 | ||
|   | 67a2d409c0 | ||
|   | 0b1b1c9c43 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | b6a7c2c4ee | ||
|   | 31ca4e5d51 | ||
|   | e613db9d5a | 
							
								
								
									
										3
									
								
								.github/workflows/.e2e-run.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/.e2e-run.yml
									
									
									
									
										vendored
									
									
								
							| @ -38,6 +38,9 @@ jobs: | |||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         include: |         include: | ||||||
|  |           - | ||||||
|  |             buildx_version: edge | ||||||
|  |             buildkit_image: moby/buildkit:latest | ||||||
|           - |           - | ||||||
|             buildx_version: latest |             buildx_version: latest | ||||||
|             buildkit_image: moby/buildkit:buildx-stable-1 |             buildkit_image: moby/buildkit:buildx-stable-1 | ||||||
|  | |||||||
							
								
								
									
										30
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -24,8 +24,8 @@ on: | |||||||
|   pull_request: |   pull_request: | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   BUILDX_VERSION: latest |   BUILDX_VERSION: edge | ||||||
|   BUILDKIT_IMAGE: moby/buildkit:buildx-stable-1 |   BUILDKIT_IMAGE: moby/buildkit:latest | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   minimal: |   minimal: | ||||||
| @ -565,6 +565,8 @@ jobs: | |||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         include: |         include: | ||||||
|  |           - buildx: edge | ||||||
|  |             buildkit: moby/buildkit:latest | ||||||
|           - buildx: latest |           - buildx: latest | ||||||
|             buildkit: moby/buildkit:buildx-stable-1 |             buildkit: moby/buildkit:buildx-stable-1 | ||||||
|           - buildx: latest |           - buildx: latest | ||||||
| @ -1468,6 +1470,7 @@ jobs: | |||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         buildx-version: |         buildx-version: | ||||||
|  |           - edge | ||||||
|           - latest |           - latest | ||||||
|           - v0.14.1 |           - v0.14.1 | ||||||
|     steps: |     steps: | ||||||
| @ -1539,3 +1542,26 @@ jobs: | |||||||
|             echo "::error::Should have failed" |             echo "::error::Should have failed" | ||||||
|             exit 1 |             exit 1 | ||||||
|           fi |           fi | ||||||
|  | 
 | ||||||
|  |   no-default-attestations: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |       - | ||||||
|  |         name: Checkout | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |         with: | ||||||
|  |           path: action | ||||||
|  |       - | ||||||
|  |         name: Set up Docker Buildx | ||||||
|  |         uses: docker/setup-buildx-action@v3 | ||||||
|  |         with: | ||||||
|  |           version: ${{ inputs.buildx-version || env.BUILDX_VERSION }} | ||||||
|  |           driver-opts: | | ||||||
|  |             image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }} | ||||||
|  |       - | ||||||
|  |         name: Build | ||||||
|  |         uses: ./action | ||||||
|  |         with: | ||||||
|  |           file: ./test/Dockerfile | ||||||
|  |         env: | ||||||
|  |           BUILDX_NO_DEFAULT_ATTESTATIONS: 1 | ||||||
|  | |||||||
							
								
								
									
										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 | ||||||
							
								
								
									
										3
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @ -20,8 +20,9 @@ jobs: | |||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
|       - |       - | ||||||
|         name: Test |         name: Test | ||||||
|         uses: docker/bake-action@v5 |         uses: docker/bake-action@v6 | ||||||
|         with: |         with: | ||||||
|  |           source: . | ||||||
|           targets: test |           targets: test | ||||||
|       - |       - | ||||||
|         name: Upload coverage |         name: Upload coverage | ||||||
|  | |||||||
							
								
								
									
										16
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/validate.yml
									
									
									
									
										vendored
									
									
								
							| @ -15,16 +15,17 @@ jobs: | |||||||
|   prepare: |   prepare: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     outputs: |     outputs: | ||||||
|       targets: ${{ steps.targets.outputs.matrix }} |       targets: ${{ steps.generate.outputs.targets }} | ||||||
|     steps: |     steps: | ||||||
|       - |       - | ||||||
|         name: Checkout |         name: Checkout | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
|       - |       - | ||||||
|         name: Targets matrix |         name: List targets | ||||||
|         id: targets |         id: generate | ||||||
|         run: | |         uses: docker/bake-action/subaction/list-targets@v6 | ||||||
|           echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT |         with: | ||||||
|  |           target: validate | ||||||
| 
 | 
 | ||||||
|   validate: |   validate: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
| @ -35,11 +36,8 @@ jobs: | |||||||
|       matrix: |       matrix: | ||||||
|         target: ${{ fromJson(needs.prepare.outputs.targets) }} |         target: ${{ fromJson(needs.prepare.outputs.targets) }} | ||||||
|     steps: |     steps: | ||||||
|       - |  | ||||||
|         name: Checkout |  | ||||||
|         uses: actions/checkout@v4 |  | ||||||
|       - |       - | ||||||
|         name: Validate |         name: Validate | ||||||
|         uses: docker/bake-action@v5 |         uses: docker/bake-action@v6 | ||||||
|         with: |         with: | ||||||
|           targets: ${{ matrix.target }} |           targets: ${{ matrix.target }} | ||||||
|  | |||||||
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							| @ -162,6 +162,7 @@ jobs: | |||||||
| * [Cache management](https://docs.docker.com/build/ci/github-actions/cache/) | * [Cache management](https://docs.docker.com/build/ci/github-actions/cache/) | ||||||
| * [Export to Docker](https://docs.docker.com/build/ci/github-actions/export-docker/) | * [Export to Docker](https://docs.docker.com/build/ci/github-actions/export-docker/) | ||||||
| * [Test before push](https://docs.docker.com/build/ci/github-actions/test-before-push/) | * [Test before push](https://docs.docker.com/build/ci/github-actions/test-before-push/) | ||||||
|  | * [Validating build configuration](https://docs.docker.com/build/ci/github-actions/checks/) | ||||||
| * [Local registry](https://docs.docker.com/build/ci/github-actions/local-registry/) | * [Local registry](https://docs.docker.com/build/ci/github-actions/local-registry/) | ||||||
| * [Share built image between jobs](https://docs.docker.com/build/ci/github-actions/share-image-jobs/) | * [Share built image between jobs](https://docs.docker.com/build/ci/github-actions/share-image-jobs/) | ||||||
| * [Named contexts](https://docs.docker.com/build/ci/github-actions/named-contexts/) | * [Named contexts](https://docs.docker.com/build/ci/github-actions/named-contexts/) | ||||||
| @ -185,6 +186,19 @@ additional details about the build, including build stats, logs, outputs, and | |||||||
| more. The build record can be imported to Docker Desktop for inspecting the | more. The build record can be imported to Docker Desktop for inspecting the | ||||||
| build in greater detail. | build in greater detail. | ||||||
| 
 | 
 | ||||||
|  | > [!WARNING] | ||||||
|  | > | ||||||
|  | > If you're using the [`actions/download-artifact`](https://github.com/actions/download-artifact) | ||||||
|  | > action in your workflow, you need to ignore the build record artifacts | ||||||
|  | > if `name` and `pattern` inputs are not specified ([defaults to download all artifacts](https://github.com/actions/download-artifact?tab=readme-ov-file#download-all-artifacts) of the workflow), | ||||||
|  | > otherwise the action will fail: | ||||||
|  | > ```yaml | ||||||
|  | > - uses: actions/download-artifact@v4 | ||||||
|  | >   with: | ||||||
|  | >     pattern: "!*.dockerbuild" | ||||||
|  | > ``` | ||||||
|  | > More info: https://github.com/actions/toolkit/pull/1874 | ||||||
|  | 
 | ||||||
| Summaries are enabled by default, but can be disabled with the | Summaries are enabled by default, but can be disabled with the | ||||||
| `DOCKER_BUILD_SUMMARY` [environment variable](#environment-variables). | `DOCKER_BUILD_SUMMARY` [environment variable](#environment-variables). | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| import {beforeEach, describe, expect, jest, test} from '@jest/globals'; | import {afterEach, beforeEach, describe, expect, jest, test} from '@jest/globals'; | ||||||
| import * as fs from 'fs'; | import * as fs from 'fs'; | ||||||
| import * as path from 'path'; | import * as path from 'path'; | ||||||
| 
 | 
 | ||||||
| @ -68,6 +68,7 @@ jest.spyOn(Builder.prototype, 'inspect').mockImplementation(async (): Promise<Bu | |||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| describe('getArgs', () => { | describe('getArgs', () => { | ||||||
|  |   const originalEnv = process.env; | ||||||
|   beforeEach(() => { |   beforeEach(() => { | ||||||
|     process.env = Object.keys(process.env).reduce((object, key) => { |     process.env = Object.keys(process.env).reduce((object, key) => { | ||||||
|       if (!key.startsWith('INPUT_')) { |       if (!key.startsWith('INPUT_')) { | ||||||
| @ -76,6 +77,9 @@ describe('getArgs', () => { | |||||||
|       return object; |       return object; | ||||||
|     }, {}); |     }, {}); | ||||||
|   }); |   }); | ||||||
|  |   afterEach(() => { | ||||||
|  |     process.env = originalEnv; | ||||||
|  |   }); | ||||||
| 
 | 
 | ||||||
|   // prettier-ignore
 |   // prettier-ignore
 | ||||||
|   test.each([ |   test.each([ | ||||||
| @ -93,7 +97,8 @@ describe('getArgs', () => { | |||||||
|         'build', |         'build', | ||||||
|         '--iidfile', imageIDFilePath, |         '--iidfile', imageIDFilePath, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       1, |       1, | ||||||
| @ -116,7 +121,8 @@ ccc"`], | |||||||
|         '--build-arg', `MULTILINE=aaaa\nbbbb\nccc`, |         '--build-arg', `MULTILINE=aaaa\nbbbb\nccc`, | ||||||
|         '--iidfile', imageIDFilePath, |         '--iidfile', imageIDFilePath, | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       2, |       2, | ||||||
| @ -134,7 +140,8 @@ ccc"`], | |||||||
|         '--tag', 'name/app:7.4', |         '--tag', 'name/app:7.4', | ||||||
|         '--tag', 'name/app:latest', |         '--tag', 'name/app:latest', | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       3, |       3, | ||||||
| @ -154,7 +161,8 @@ ccc"`], | |||||||
|         '--label', 'org.opencontainers.image.description=concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit', |         '--label', 'org.opencontainers.image.description=concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit', | ||||||
|         '--output', 'type=local,dest=./release-out', |         '--output', 'type=local,dest=./release-out', | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       4, |       4, | ||||||
| @ -171,7 +179,8 @@ ccc"`], | |||||||
|         'build', |         'build', | ||||||
|         '--platform', 'linux/amd64,linux/arm64', |         '--platform', 'linux/amd64,linux/arm64', | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       5, |       5, | ||||||
| @ -187,7 +196,8 @@ ccc"`], | |||||||
|         'build', |         'build', | ||||||
|         '--iidfile', imageIDFilePath, |         '--iidfile', imageIDFilePath, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       6, |       6, | ||||||
| @ -205,7 +215,8 @@ ccc"`], | |||||||
|         '--iidfile', imageIDFilePath, |         '--iidfile', imageIDFilePath, | ||||||
|         '--secret', `id=GIT_AUTH_TOKEN,src=${tmpName}`, |         '--secret', `id=GIT_AUTH_TOKEN,src=${tmpName}`, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       7, |       7, | ||||||
| @ -223,7 +234,8 @@ ccc"`], | |||||||
|         '--output', '.', |         '--output', '.', | ||||||
|         '--secret', `id=GIT_AUTH_TOKEN,src=${tmpName}`, |         '--secret', `id=GIT_AUTH_TOKEN,src=${tmpName}`, | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       8, |       8, | ||||||
| @ -249,7 +261,8 @@ ccc"`], | |||||||
|         '--builder', 'builder-git-context-2', |         '--builder', 'builder-git-context-2', | ||||||
|         '--push', |         '--push', | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       9, |       9, | ||||||
| @ -286,7 +299,8 @@ ccc"`], | |||||||
|         '--builder', 'builder-git-context-2', |         '--builder', 'builder-git-context-2', | ||||||
|         '--push', |         '--push', | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       10, |       10, | ||||||
| @ -323,7 +337,8 @@ ccc`], | |||||||
|         '--builder', 'builder-git-context-2', |         '--builder', 'builder-git-context-2', | ||||||
|         '--push', |         '--push', | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       11, |       11, | ||||||
| @ -349,7 +364,8 @@ ccc`], | |||||||
|         '--network', 'host', |         '--network', 'host', | ||||||
|         '--push', |         '--push', | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master' |         'https://github.com/docker/build-push-action.git#refs/heads/master' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       12, |       12, | ||||||
| @ -369,7 +385,8 @@ ccc`], | |||||||
|         '--label', 'org.opencontainers.image.description=Reference implementation of operation "filter results (top-n)"', |         '--label', 'org.opencontainers.image.description=Reference implementation of operation "filter results (top-n)"', | ||||||
|         '--output', 'type=local,dest=./release-out', |         '--output', 'type=local,dest=./release-out', | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       13, |       13, | ||||||
| @ -395,7 +412,8 @@ ccc`], | |||||||
|         '--network', 'host', |         '--network', 'host', | ||||||
|         '--push', |         '--push', | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       14, |       14, | ||||||
| @ -425,7 +443,8 @@ nproc=3`], | |||||||
|         '--ulimit', 'nproc=3', |         '--ulimit', 'nproc=3', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       15, |       15, | ||||||
| @ -442,7 +461,8 @@ nproc=3`], | |||||||
|         '--iidfile', imageIDFilePath, |         '--iidfile', imageIDFilePath, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master:docker' |         'https://github.com/docker/build-push-action.git#refs/heads/master:docker' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       16, |       16, | ||||||
| @ -461,7 +481,8 @@ nproc=3`], | |||||||
|         '--secret', `id=GIT_AUTH_TOKEN,src=${tmpName}`, |         '--secret', `id=GIT_AUTH_TOKEN,src=${tmpName}`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         'https://github.com/docker/build-push-action.git#refs/heads/master:subdir' |         'https://github.com/docker/build-push-action.git#refs/heads/master:subdir' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       17, |       17, | ||||||
| @ -479,7 +500,8 @@ nproc=3`], | |||||||
|         '--iidfile', imageIDFilePath, |         '--iidfile', imageIDFilePath, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       18, |       18, | ||||||
| @ -497,7 +519,8 @@ nproc=3`], | |||||||
|         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       19, |       19, | ||||||
| @ -516,7 +539,8 @@ nproc=3`], | |||||||
|         '--attest', `type=provenance,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       20, |       20, | ||||||
| @ -535,7 +559,8 @@ nproc=3`], | |||||||
|         '--attest', `type=provenance,mode=max,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=max,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       21, |       21, | ||||||
| @ -554,7 +579,8 @@ nproc=3`], | |||||||
|         '--attest', 'type=provenance,disabled=true', |         '--attest', 'type=provenance,disabled=true', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       22, |       22, | ||||||
| @ -573,7 +599,8 @@ nproc=3`], | |||||||
|         '--attest', 'type=provenance,builder-id=foo', |         '--attest', 'type=provenance,builder-id=foo', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       23, |       23, | ||||||
| @ -592,7 +619,8 @@ nproc=3`], | |||||||
|         "--output", 'type=docker', |         "--output", 'type=docker', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       24, |       24, | ||||||
| @ -610,7 +638,8 @@ nproc=3`], | |||||||
|         '--load', |         '--load', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       25, |       25, | ||||||
| @ -630,7 +659,8 @@ nproc=3`], | |||||||
|         '--load', |         '--load', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       26, |       26, | ||||||
| @ -652,7 +682,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--load', |         '--load', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       27, |       27, | ||||||
| @ -673,7 +704,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--load', |         '--load', | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       28, |       28, | ||||||
| @ -693,7 +725,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       29, |       29, | ||||||
| @ -717,7 +750,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       30, |       30, | ||||||
| @ -737,7 +771,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       31, |       31, | ||||||
| @ -758,7 +793,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--attest', `type=sbom,disabled=false`, |         '--attest', `type=sbom,disabled=false`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       32, |       32, | ||||||
| @ -778,7 +814,8 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--attest', `type=provenance,mode=max,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=max,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|     ], |     ], | ||||||
|     [ |     [ | ||||||
|       33, |       33, | ||||||
| @ -797,11 +834,37 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`] | |||||||
|         '--attest', `type=provenance,mode=min,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, |         '--attest', `type=provenance,mode=min,builder-id=https://github.com/docker/build-push-action/actions/runs/123456789/attempts/1`, | ||||||
|         '--metadata-file', metadataJson, |         '--metadata-file', metadataJson, | ||||||
|         '.' |         '.' | ||||||
|       ] |       ], | ||||||
|  |       undefined | ||||||
|  |     ], | ||||||
|  |     [ | ||||||
|  |       34, | ||||||
|  |       '0.13.1', | ||||||
|  |       new Map<string, string>([ | ||||||
|  |         ['context', '.'], | ||||||
|  |         ['load', 'false'], | ||||||
|  |         ['no-cache', 'false'], | ||||||
|  |         ['push', 'false'], | ||||||
|  |         ['pull', 'false'] | ||||||
|  |       ]), | ||||||
|  |       [ | ||||||
|  |         'build', | ||||||
|  |         '--iidfile', imageIDFilePath, | ||||||
|  |         '--metadata-file', metadataJson, | ||||||
|  |         '.' | ||||||
|  |       ], | ||||||
|  |       new Map<string, string>([ | ||||||
|  |         ['BUILDX_NO_DEFAULT_ATTESTATIONS', '1'] | ||||||
|  |       ]) | ||||||
|     ], |     ], | ||||||
|   ])( |   ])( | ||||||
|     '[%d] given %p with %p as inputs, returns %p', |     '[%d] given %p with %p as inputs, returns %p', | ||||||
|     async (num: number, buildxVersion: string, inputs: Map<string, string>, expected: Array<string>) => { |     async (num: number, buildxVersion: string, inputs: Map<string, string>, expected: Array<string>, envs: Map<string, string> | undefined) => { | ||||||
|  |       if (envs) { | ||||||
|  |         envs.forEach((value: string, name: string) => { | ||||||
|  |           process.env[name] = value; | ||||||
|  |         }); | ||||||
|  |       } | ||||||
|       inputs.forEach((value: string, name: string) => { |       inputs.forEach((value: string, name: string) => { | ||||||
|         setInput(name, value); |         setInput(name, value); | ||||||
|       }); |       }); | ||||||
|  | |||||||
							
								
								
									
										30
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								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. | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| dot-object |  | ||||||
| MIT |  | ||||||
| 
 |  | ||||||
| encoding | encoding | ||||||
| MIT | MIT | ||||||
| Copyright (c) 2012-2014 Andris Reinman | Copyright (c) 2012-2014 Andris Reinman | ||||||
| @ -3691,9 +3688,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |||||||
| THE SOFTWARE. | THE SOFTWARE. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| twirp-ts |  | ||||||
| MIT |  | ||||||
| 
 |  | ||||||
| undici | undici | ||||||
| MIT | MIT | ||||||
| MIT License | MIT License | ||||||
|  | |||||||
| @ -1,3 +1,9 @@ | |||||||
|  | target "_common" { | ||||||
|  |   args = { | ||||||
|  |     BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1 | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| group "default" { | group "default" { | ||||||
|   targets = ["build"] |   targets = ["build"] | ||||||
| } | } | ||||||
| @ -11,42 +17,49 @@ group "validate" { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "build" { | target "build" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "build-update" |   target = "build-update" | ||||||
|   output = ["."] |   output = ["."] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "build-validate" { | target "build-validate" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "build-validate" |   target = "build-validate" | ||||||
|   output = ["type=cacheonly"] |   output = ["type=cacheonly"] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "format" { | target "format" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "format-update" |   target = "format-update" | ||||||
|   output = ["."] |   output = ["."] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "lint" { | target "lint" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "lint" |   target = "lint" | ||||||
|   output = ["type=cacheonly"] |   output = ["type=cacheonly"] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "vendor" { | target "vendor" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "vendor-update" |   target = "vendor-update" | ||||||
|   output = ["."] |   output = ["."] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "vendor-validate" { | target "vendor-validate" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "vendor-validate" |   target = "vendor-validate" | ||||||
|   output = ["type=cacheonly"] |   output = ["type=cacheonly"] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| target "test" { | target "test" { | ||||||
|  |   inherits = ["_common"] | ||||||
|   dockerfile = "dev.Dockerfile" |   dockerfile = "dev.Dockerfile" | ||||||
|   target = "test-coverage" |   target = "test-coverage" | ||||||
|   output = ["./coverage"] |   output = ["./coverage"] | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
|   "packageManager": "yarn@3.6.3", |   "packageManager": "yarn@3.6.3", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/core": "^1.11.1", |     "@actions/core": "^1.11.1", | ||||||
|     "@docker/actions-toolkit": "0.49.0", |     "@docker/actions-toolkit": "0.59.0", | ||||||
|     "handlebars": "^4.7.7" |     "handlebars": "^4.7.7" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|  | |||||||
| @ -81,25 +81,6 @@ export async function getInputs(): Promise<Inputs> { | |||||||
|   }; |   }; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export function sanitizeInputs(inputs: Inputs) { |  | ||||||
|   const res = {}; |  | ||||||
|   for (const key of Object.keys(inputs)) { |  | ||||||
|     if (key === 'github-token') { |  | ||||||
|       continue; |  | ||||||
|     } |  | ||||||
|     const value: string | string[] | boolean = inputs[key]; |  | ||||||
|     if (typeof value === 'boolean' && value === false) { |  | ||||||
|       continue; |  | ||||||
|     } else if (Array.isArray(value) && value.length === 0) { |  | ||||||
|       continue; |  | ||||||
|     } else if (!value) { |  | ||||||
|       continue; |  | ||||||
|     } |  | ||||||
|     res[key] = value; |  | ||||||
|   } |  | ||||||
|   return res; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| export async function getArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<string>> { | export async function getArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<string>> { | ||||||
|   const context = handlebars.compile(inputs.context)({ |   const context = handlebars.compile(inputs.context)({ | ||||||
|     defaultContext: Context.gitContext() |     defaultContext: Context.gitContext() | ||||||
| @ -264,7 +245,7 @@ async function getAttestArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<st | |||||||
|   if (inputs.provenance) { |   if (inputs.provenance) { | ||||||
|     args.push('--attest', Build.resolveAttestationAttrs(`type=provenance,${inputs.provenance}`)); |     args.push('--attest', Build.resolveAttestationAttrs(`type=provenance,${inputs.provenance}`)); | ||||||
|     provenanceSet = true; |     provenanceSet = true; | ||||||
|   } else if (!hasAttestProvenance && (await toolkit.buildkit.versionSatisfies(inputs.builder, '>=0.11.0')) && !Build.hasDockerExporter(inputs.outputs, inputs.load)) { |   } else if (!hasAttestProvenance && !noDefaultAttestations() && (await toolkit.buildkit.versionSatisfies(inputs.builder, '>=0.11.0')) && !Build.hasDockerExporter(inputs.outputs, inputs.load)) { | ||||||
|     // if provenance not specified in provenance or attests inputs and BuildKit
 |     // if provenance not specified in provenance or attests inputs and BuildKit
 | ||||||
|     // version compatible for attestation, set default provenance. Also needs
 |     // version compatible for attestation, set default provenance. Also needs
 | ||||||
|     // to make sure user doesn't want to explicitly load the image to docker.
 |     // to make sure user doesn't want to explicitly load the image to docker.
 | ||||||
| @ -296,3 +277,10 @@ async function getAttestArgs(inputs: Inputs, toolkit: Toolkit): Promise<Array<st | |||||||
| 
 | 
 | ||||||
|   return args; |   return args; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | function noDefaultAttestations(): boolean { | ||||||
|  |   if (process.env.BUILDX_NO_DEFAULT_ATTESTATIONS) { | ||||||
|  |     return Util.parseBool(process.env.BUILDX_NO_DEFAULT_ATTESTATIONS); | ||||||
|  |   } | ||||||
|  |   return false; | ||||||
|  | } | ||||||
|  | |||||||
							
								
								
									
										16
									
								
								src/main.ts
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								src/main.ts
									
									
									
									
									
								
							| @ -24,8 +24,8 @@ actionsToolkit.run( | |||||||
|   async () => { |   async () => { | ||||||
|     const startedTime = new Date(); |     const startedTime = new Date(); | ||||||
|     const inputs: context.Inputs = await context.getInputs(); |     const inputs: context.Inputs = await context.getInputs(); | ||||||
|  |     stateHelper.setSummaryInputs(inputs); | ||||||
|     core.debug(`inputs: ${JSON.stringify(inputs)}`); |     core.debug(`inputs: ${JSON.stringify(inputs)}`); | ||||||
|     stateHelper.setInputs(inputs); |  | ||||||
| 
 | 
 | ||||||
|     const toolkit = new Toolkit(); |     const toolkit = new Toolkit(); | ||||||
| 
 | 
 | ||||||
| @ -108,9 +108,9 @@ actionsToolkit.run( | |||||||
|         if (inputs.call && inputs.call === 'check' && res.stdout.length > 0) { |         if (inputs.call && inputs.call === 'check' && res.stdout.length > 0) { | ||||||
|           // checks warnings are printed to stdout: https://github.com/docker/buildx/pull/2647
 |           // checks warnings are printed to stdout: https://github.com/docker/buildx/pull/2647
 | ||||||
|           // take the first line with the message summaryzing the warnings
 |           // take the first line with the message summaryzing the warnings
 | ||||||
|           err = Error(res.stdout.split('\n')[0]?.trim()); |           err = new Error(res.stdout.split('\n')[0]?.trim()); | ||||||
|         } else if (res.stderr.length > 0) { |         } else if (res.stderr.length > 0) { | ||||||
|           err = Error(`buildx failed with: ${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`); |           err = new Error(`buildx failed with: ${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`); | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }); |     }); | ||||||
| @ -216,7 +216,7 @@ actionsToolkit.run( | |||||||
|           await GitHub.writeBuildSummary({ |           await GitHub.writeBuildSummary({ | ||||||
|             exportRes: exportRes, |             exportRes: exportRes, | ||||||
|             uploadRes: uploadRes, |             uploadRes: uploadRes, | ||||||
|             inputs: stateHelper.inputs |             inputs: stateHelper.summaryInputs | ||||||
|           }); |           }); | ||||||
|         } catch (e) { |         } catch (e) { | ||||||
|           core.warning(e.message); |           core.warning(e.message); | ||||||
| @ -225,7 +225,11 @@ actionsToolkit.run( | |||||||
|     } |     } | ||||||
|     if (stateHelper.tmpDir.length > 0) { |     if (stateHelper.tmpDir.length > 0) { | ||||||
|       await core.group(`Removing temp folder ${stateHelper.tmpDir}`, async () => { |       await core.group(`Removing temp folder ${stateHelper.tmpDir}`, async () => { | ||||||
|         fs.rmSync(stateHelper.tmpDir, {recursive: true}); |         try { | ||||||
|  |           fs.rmSync(stateHelper.tmpDir, {recursive: true}); | ||||||
|  |         } catch (e) { | ||||||
|  |           core.warning(`Failed to remove temp folder ${stateHelper.tmpDir}`); | ||||||
|  |         } | ||||||
|       }); |       }); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| @ -285,7 +289,7 @@ function buildRecordRetentionDays(): number | undefined { | |||||||
|   if (val) { |   if (val) { | ||||||
|     const res = parseInt(val); |     const res = parseInt(val); | ||||||
|     if (isNaN(res)) { |     if (isNaN(res)) { | ||||||
|       throw Error(`Invalid build record retention days: ${val}`); |       throw new Error(`Invalid build record retention days: ${val}`); | ||||||
|     } |     } | ||||||
|     return res; |     return res; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -1,20 +1,18 @@ | |||||||
| import * as core from '@actions/core'; | import * as core from '@actions/core'; | ||||||
| 
 | 
 | ||||||
| import {Inputs, sanitizeInputs} from './context'; | import {Build} from '@docker/actions-toolkit/lib/buildx/build'; | ||||||
|  | 
 | ||||||
|  | import {Inputs} from './context'; | ||||||
| 
 | 
 | ||||||
| export const tmpDir = process.env['STATE_tmpDir'] || ''; | export const tmpDir = process.env['STATE_tmpDir'] || ''; | ||||||
| export const inputs = process.env['STATE_inputs'] ? JSON.parse(process.env['STATE_inputs']) : undefined; |  | ||||||
| export const buildRef = process.env['STATE_buildRef'] || ''; | export const buildRef = process.env['STATE_buildRef'] || ''; | ||||||
| export const isSummarySupported = !!process.env['STATE_isSummarySupported']; | export const isSummarySupported = !!process.env['STATE_isSummarySupported']; | ||||||
|  | export const summaryInputs = process.env['STATE_summaryInputs'] ? JSON.parse(process.env['STATE_summaryInputs']) : undefined; | ||||||
| 
 | 
 | ||||||
| export function setTmpDir(tmpDir: string) { | export function setTmpDir(tmpDir: string) { | ||||||
|   core.saveState('tmpDir', tmpDir); |   core.saveState('tmpDir', tmpDir); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export function setInputs(inputs: Inputs) { |  | ||||||
|   core.saveState('inputs', JSON.stringify(sanitizeInputs(inputs))); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| export function setBuildRef(buildRef: string) { | export function setBuildRef(buildRef: string) { | ||||||
|   core.saveState('buildRef', buildRef); |   core.saveState('buildRef', buildRef); | ||||||
| } | } | ||||||
| @ -22,3 +20,39 @@ export function setBuildRef(buildRef: string) { | |||||||
| export function setSummarySupported() { | export function setSummarySupported() { | ||||||
|   core.saveState('isSummarySupported', 'true'); |   core.saveState('isSummarySupported', 'true'); | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | export function setSummaryInputs(inputs: Inputs) { | ||||||
|  |   const res = {}; | ||||||
|  |   for (const key of Object.keys(inputs)) { | ||||||
|  |     if (key === 'github-token') { | ||||||
|  |       continue; | ||||||
|  |     } | ||||||
|  |     const value: string | string[] | boolean = inputs[key]; | ||||||
|  |     if (typeof value === 'boolean' && !value) { | ||||||
|  |       continue; | ||||||
|  |     } else if (Array.isArray(value)) { | ||||||
|  |       if (value.length === 0) { | ||||||
|  |         continue; | ||||||
|  |       } else if (key === 'secrets' && value.length > 0) { | ||||||
|  |         const secretKeys: string[] = []; | ||||||
|  |         for (const secret of value) { | ||||||
|  |           try { | ||||||
|  |             // eslint-disable-next-line @typescript-eslint/no-unused-vars
 | ||||||
|  |             const [skey, _] = Build.parseSecretKvp(secret, true); | ||||||
|  |             secretKeys.push(skey); | ||||||
|  |           } catch (err) { | ||||||
|  |             // ignore invalid secret
 | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |         if (secretKeys.length > 0) { | ||||||
|  |           res[key] = secretKeys; | ||||||
|  |         } | ||||||
|  |         continue; | ||||||
|  |       } | ||||||
|  |     } else if (!value) { | ||||||
|  |       continue; | ||||||
|  |     } | ||||||
|  |     res[key] = value; | ||||||
|  |   } | ||||||
|  |   core.saveState('summaryInputs', JSON.stringify(res)); | ||||||
|  | } | ||||||
|  | |||||||
							
								
								
									
										213
									
								
								yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										213
									
								
								yarn.lock
									
									
									
									
									
								
							| @ -12,9 +12,9 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "@actions/artifact@npm:^2.1.11": | "@actions/artifact@npm:^2.3.2": | ||||||
|   version: 2.1.11 |   version: 2.3.2 | ||||||
|   resolution: "@actions/artifact@npm:2.1.11" |   resolution: "@actions/artifact@npm:2.3.2" | ||||||
|   dependencies: |   dependencies: | ||||||
|     "@actions/core": ^1.10.0 |     "@actions/core": ^1.10.0 | ||||||
|     "@actions/github": ^5.1.1 |     "@actions/github": ^5.1.1 | ||||||
| @ -27,15 +27,14 @@ __metadata: | |||||||
|     "@protobuf-ts/plugin": ^2.2.3-alpha.1 |     "@protobuf-ts/plugin": ^2.2.3-alpha.1 | ||||||
|     archiver: ^7.0.1 |     archiver: ^7.0.1 | ||||||
|     jwt-decode: ^3.1.2 |     jwt-decode: ^3.1.2 | ||||||
|     twirp-ts: ^2.5.0 |  | ||||||
|     unzip-stream: ^0.3.1 |     unzip-stream: ^0.3.1 | ||||||
|   checksum: dbdafaad11cc573768a00f6b8a7f5109f587eb9461564ae8f15ea8fd1d6a719041df45a92ec204a43a8a1e7ce2c21d8e4229543579b89a3ca8ea30dedddf2fc9 |   checksum: 78ee41b43800accb2f3527e1733217c43d53693e7f96ce2470b16890fb84f5c2ebaaa6048ccdb6cfe188b54c02779ec99623c6932558e757f6829cfde203cf2c | ||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "@actions/cache@npm:^3.3.0": | "@actions/cache@npm:^4.0.3": | ||||||
|   version: 3.3.0 |   version: 4.0.3 | ||||||
|   resolution: "@actions/cache@npm:3.3.0" |   resolution: "@actions/cache@npm:4.0.3" | ||||||
|   dependencies: |   dependencies: | ||||||
|     "@actions/core": ^1.11.1 |     "@actions/core": ^1.11.1 | ||||||
|     "@actions/exec": ^1.0.1 |     "@actions/exec": ^1.0.1 | ||||||
| @ -45,8 +44,9 @@ __metadata: | |||||||
|     "@azure/abort-controller": ^1.1.0 |     "@azure/abort-controller": ^1.1.0 | ||||||
|     "@azure/ms-rest-js": ^2.6.0 |     "@azure/ms-rest-js": ^2.6.0 | ||||||
|     "@azure/storage-blob": ^12.13.0 |     "@azure/storage-blob": ^12.13.0 | ||||||
|  |     "@protobuf-ts/plugin": ^2.9.4 | ||||||
|     semver: ^6.3.1 |     semver: ^6.3.1 | ||||||
|   checksum: f0761b1491b7706a80b44d68ed52eb48c04653fc939525a7c7b606e9d9251c40c7e4ac20846ab92ac32db6869e1a6f0f574bd6b7fec1ab9378c8e199c5acc9c9 |   checksum: ee9c2a21a70bd3f35c63f302af478e23f135c26deb77ea2e4eed29c62766a4b201fc7435651c0d56fa504c02d203107e3bdfda1dba18a3ee09338e1dfc3f2fe8 | ||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| @ -140,17 +140,16 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "@actions/tool-cache@npm:^2.0.1": | "@actions/tool-cache@npm:^2.0.2": | ||||||
|   version: 2.0.1 |   version: 2.0.2 | ||||||
|   resolution: "@actions/tool-cache@npm:2.0.1" |   resolution: "@actions/tool-cache@npm:2.0.2" | ||||||
|   dependencies: |   dependencies: | ||||||
|     "@actions/core": ^1.2.6 |     "@actions/core": ^1.11.1 | ||||||
|     "@actions/exec": ^1.0.0 |     "@actions/exec": ^1.0.0 | ||||||
|     "@actions/http-client": ^2.0.1 |     "@actions/http-client": ^2.0.1 | ||||||
|     "@actions/io": ^1.1.1 |     "@actions/io": ^1.1.1 | ||||||
|     semver: ^6.1.0 |     semver: ^6.1.0 | ||||||
|     uuid: ^3.3.2 |   checksum: c2bab4297be752bdda9dd61f8159a201ad0d37d026134b960f1edcc9418a80387f44d1f24a070fe992c44dcfc28a152f70600e76669bb0578132789a6f37a596 | ||||||
|   checksum: 33f6393b9b163e4af2b9759e8d37cda4f018f10ddda3643355bb8a9f92d732e5bdff089cf8036b46d181e1ef2b3210b895b2f746fdf54487afe88f1d340aa9e1 |  | ||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| @ -1073,18 +1072,18 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "@docker/actions-toolkit@npm:0.49.0": | "@docker/actions-toolkit@npm:0.59.0": | ||||||
|   version: 0.49.0 |   version: 0.59.0 | ||||||
|   resolution: "@docker/actions-toolkit@npm:0.49.0" |   resolution: "@docker/actions-toolkit@npm:0.59.0" | ||||||
|   dependencies: |   dependencies: | ||||||
|     "@actions/artifact": ^2.1.11 |     "@actions/artifact": ^2.3.2 | ||||||
|     "@actions/cache": ^3.3.0 |     "@actions/cache": ^4.0.3 | ||||||
|     "@actions/core": ^1.11.1 |     "@actions/core": ^1.11.1 | ||||||
|     "@actions/exec": ^1.1.1 |     "@actions/exec": ^1.1.1 | ||||||
|     "@actions/github": ^6.0.0 |     "@actions/github": ^6.0.0 | ||||||
|     "@actions/http-client": ^2.2.3 |     "@actions/http-client": ^2.2.3 | ||||||
|     "@actions/io": ^1.1.3 |     "@actions/io": ^1.1.3 | ||||||
|     "@actions/tool-cache": ^2.0.1 |     "@actions/tool-cache": ^2.0.2 | ||||||
|     "@azure/storage-blob": ^12.15.0 |     "@azure/storage-blob": ^12.15.0 | ||||||
|     "@octokit/core": ^5.1.0 |     "@octokit/core": ^5.1.0 | ||||||
|     "@octokit/plugin-rest-endpoint-methods": ^10.4.0 |     "@octokit/plugin-rest-endpoint-methods": ^10.4.0 | ||||||
| @ -1095,10 +1094,10 @@ __metadata: | |||||||
|     he: ^1.2.0 |     he: ^1.2.0 | ||||||
|     js-yaml: ^4.1.0 |     js-yaml: ^4.1.0 | ||||||
|     jwt-decode: ^4.0.0 |     jwt-decode: ^4.0.0 | ||||||
|     semver: ^7.6.3 |     semver: ^7.7.1 | ||||||
|     tar-stream: ^3.1.7 |     tar-stream: ^3.1.7 | ||||||
|     tmp: ^0.2.3 |     tmp: ^0.2.3 | ||||||
|   checksum: 5e945601180002f129f095bba2d7d938b5ca69e87631d5e96a0d3b2254a8b034ab4bafbf7582ea82995e39610ad00fd68b34ab5875b9b314690328f714ad79d0 |   checksum: 0956071aa04e04132b789d47ba57813c566115bea9fdedf3c648d0a0da8ce12350de9cd2a796ce1da7b64b995ae073bfe344b0f63c6f331a45e60195e15680a6 | ||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| @ -1891,7 +1890,7 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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 |   version: 2.9.4 | ||||||
|   resolution: "@protobuf-ts/plugin-framework@npm:2.9.4" |   resolution: "@protobuf-ts/plugin-framework@npm:2.9.4" | ||||||
|   dependencies: |   dependencies: | ||||||
| @ -1901,7 +1900,7 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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 |   version: 2.9.4 | ||||||
|   resolution: "@protobuf-ts/plugin@npm:2.9.4" |   resolution: "@protobuf-ts/plugin@npm:2.9.4" | ||||||
|   dependencies: |   dependencies: | ||||||
| @ -2770,16 +2769,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "camelcase@npm:^5.3.1": | ||||||
|   version: 5.3.1 |   version: 5.3.1 | ||||||
|   resolution: "camelcase@npm:5.3.1" |   resolution: "camelcase@npm:5.3.1" | ||||||
| @ -2939,13 +2928,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "compress-commons@npm:^6.0.2": | ||||||
|   version: 6.0.2 |   version: 6.0.2 | ||||||
|   resolution: "compress-commons@npm:6.0.2" |   resolution: "compress-commons@npm:6.0.2" | ||||||
| @ -3161,7 +3143,7 @@ __metadata: | |||||||
|   resolution: "docker-build-push@workspace:." |   resolution: "docker-build-push@workspace:." | ||||||
|   dependencies: |   dependencies: | ||||||
|     "@actions/core": ^1.11.1 |     "@actions/core": ^1.11.1 | ||||||
|     "@docker/actions-toolkit": 0.49.0 |     "@docker/actions-toolkit": 0.59.0 | ||||||
|     "@types/node": ^20.12.12 |     "@types/node": ^20.12.12 | ||||||
|     "@typescript-eslint/eslint-plugin": ^7.9.0 |     "@typescript-eslint/eslint-plugin": ^7.9.0 | ||||||
|     "@typescript-eslint/parser": ^7.9.0 |     "@typescript-eslint/parser": ^7.9.0 | ||||||
| @ -3188,18 +3170,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "duplexify@npm:^3.5.0, duplexify@npm:^3.6.0": | ||||||
|   version: 3.7.1 |   version: 3.7.1 | ||||||
|   resolution: "duplexify@npm:3.7.1" |   resolution: "duplexify@npm:3.7.1" | ||||||
| @ -3852,20 +3822,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "globals@npm:^11.1.0": | ||||||
|   version: 11.12.0 |   version: 11.12.0 | ||||||
|   resolution: "globals@npm:11.12.0" |   resolution: "globals@npm:11.12.0" | ||||||
| @ -4947,15 +4903,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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.0.1": | ||||||
|   version: 10.2.2 |   version: 10.2.2 | ||||||
|   resolution: "lru-cache@npm:10.2.2" |   resolution: "lru-cache@npm:10.2.2" | ||||||
| @ -5080,7 +5027,7 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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 |   version: 3.1.2 | ||||||
|   resolution: "minimatch@npm:3.1.2" |   resolution: "minimatch@npm:3.1.2" | ||||||
|   dependencies: |   dependencies: | ||||||
| @ -5260,16 +5207,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "node-fetch@npm:^2.6.7": | ||||||
|   version: 2.6.7 |   version: 2.6.7 | ||||||
|   resolution: "node-fetch@npm:2.6.7" |   resolution: "node-fetch@npm:2.6.7" | ||||||
| @ -5464,16 +5401,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "path-exists@npm:^4.0.0": | ||||||
|   version: 4.0.0 |   version: 4.0.0 | ||||||
|   resolution: "path-exists@npm:4.0.0" |   resolution: "path-exists@npm:4.0.0" | ||||||
| @ -5512,13 +5439,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "path-to-regexp@npm:^6.2.0": |  | ||||||
|   version: 6.3.0 |  | ||||||
|   resolution: "path-to-regexp@npm:6.3.0" |  | ||||||
|   checksum: eca78602e6434a1b6799d511d375ec044e8d7e28f5a48aa5c28d57d8152fb52f3fc62fb1cfc5dfa2198e1f041c2a82ed14043d75740a2fe60e91b5089a153250 |  | ||||||
|   languageName: node |  | ||||||
|   linkType: hard |  | ||||||
| 
 |  | ||||||
| "path-type@npm:^4.0.0": | "path-type@npm:^4.0.0": | ||||||
|   version: 4.0.0 |   version: 4.0.0 | ||||||
|   resolution: "path-type@npm:4.0.0" |   resolution: "path-type@npm:4.0.0" | ||||||
| @ -5583,15 +5503,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "prettier@npm:^3.2.5": | ||||||
|   version: 3.2.5 |   version: 3.2.5 | ||||||
|   resolution: "prettier@npm:3.2.5" |   resolution: "prettier@npm:3.2.5" | ||||||
| @ -5914,12 +5825,12 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "semver@npm:^7.6.3": | "semver@npm:^7.7.1": | ||||||
|   version: 7.6.3 |   version: 7.7.1 | ||||||
|   resolution: "semver@npm:7.6.3" |   resolution: "semver@npm:7.7.1" | ||||||
|   bin: |   bin: | ||||||
|     semver: bin/semver.js |     semver: bin/semver.js | ||||||
|   checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8 |   checksum: 586b825d36874007c9382d9e1ad8f93888d8670040add24a28e06a910aeebd673a2eb9e3bf169c6679d9245e66efb9057e0852e70d9daa6c27372aab1dda7104 | ||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| @ -6402,16 +6313,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "tslib@npm:^1.10.0": | ||||||
|   version: 1.14.1 |   version: 1.14.1 | ||||||
|   resolution: "tslib@npm:1.14.1" |   resolution: "tslib@npm:1.14.1" | ||||||
| @ -6419,13 +6320,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "tslib@npm:^2.2.0": | ||||||
|   version: 2.6.1 |   version: 2.6.1 | ||||||
|   resolution: "tslib@npm:2.6.1" |   resolution: "tslib@npm:2.6.1" | ||||||
| @ -6433,6 +6327,13 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "tunnel@npm:0.0.6, tunnel@npm:^0.0.6": | ||||||
|   version: 0.0.6 |   version: 0.0.6 | ||||||
|   resolution: "tunnel@npm:0.0.6" |   resolution: "tunnel@npm:0.0.6" | ||||||
| @ -6440,30 +6341,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "type-check@npm:^0.4.0, type-check@npm:~0.4.0": | ||||||
|   version: 0.4.0 |   version: 0.4.0 | ||||||
|   resolution: "type-check@npm:0.4.0" |   resolution: "type-check@npm:0.4.0" | ||||||
| @ -6624,15 +6501,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   linkType: hard | ||||||
| 
 | 
 | ||||||
| "uuid@npm:^3.3.2": |  | ||||||
|   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": | "uuid@npm:^8.3.0, uuid@npm:^8.3.2": | ||||||
|   version: 8.3.2 |   version: 8.3.2 | ||||||
|   resolution: "uuid@npm:8.3.2" |   resolution: "uuid@npm:8.3.2" | ||||||
| @ -6799,13 +6667,6 @@ __metadata: | |||||||
|   languageName: node |   languageName: node | ||||||
|   linkType: hard |   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": | "yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1": | ||||||
|   version: 21.1.1 |   version: 21.1.1 | ||||||
|   resolution: "yargs-parser@npm:21.1.1" |   resolution: "yargs-parser@npm:21.1.1" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user