@docker/github-builder-runtime 0.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +5 -0
  3. package/lib/buildkit/buildkit.d.ts +29 -0
  4. package/lib/buildkit/buildkit.js +95 -0
  5. package/lib/buildkit/buildkit.js.map +1 -0
  6. package/lib/buildkit/config.d.ts +20 -0
  7. package/lib/buildkit/config.js +37 -0
  8. package/lib/buildkit/config.js.map +1 -0
  9. package/lib/buildkit/git.d.ts +24 -0
  10. package/lib/buildkit/git.js +103 -0
  11. package/lib/buildkit/git.js.map +1 -0
  12. package/lib/buildx/bake.d.ts +64 -0
  13. package/lib/buildx/bake.js +387 -0
  14. package/lib/buildx/bake.js.map +1 -0
  15. package/lib/buildx/build.d.ts +63 -0
  16. package/lib/buildx/build.js +356 -0
  17. package/lib/buildx/build.js.map +1 -0
  18. package/lib/buildx/builder.d.ts +27 -0
  19. package/lib/buildx/builder.js +290 -0
  20. package/lib/buildx/builder.js.map +1 -0
  21. package/lib/buildx/buildx.d.ts +47 -0
  22. package/lib/buildx/buildx.js +374 -0
  23. package/lib/buildx/buildx.js.map +1 -0
  24. package/lib/buildx/history.d.ts +39 -0
  25. package/lib/buildx/history.js +144 -0
  26. package/lib/buildx/history.js.map +1 -0
  27. package/lib/buildx/imagetools.d.ts +47 -0
  28. package/lib/buildx/imagetools.js +205 -0
  29. package/lib/buildx/imagetools.js.map +1 -0
  30. package/lib/buildx/install.d.ts +47 -0
  31. package/lib/buildx/install.js +314 -0
  32. package/lib/buildx/install.js.map +1 -0
  33. package/lib/cache.d.ts +40 -0
  34. package/lib/cache.js +129 -0
  35. package/lib/cache.js.map +1 -0
  36. package/lib/compose/compose.d.ts +33 -0
  37. package/lib/compose/compose.js +91 -0
  38. package/lib/compose/compose.js.map +1 -0
  39. package/lib/compose/install.d.ts +34 -0
  40. package/lib/compose/install.js +190 -0
  41. package/lib/compose/install.js.map +1 -0
  42. package/lib/context.d.ts +22 -0
  43. package/lib/context.js +33 -0
  44. package/lib/context.js.map +1 -0
  45. package/lib/cosign/cosign.d.ts +40 -0
  46. package/lib/cosign/cosign.js +127 -0
  47. package/lib/cosign/cosign.js.map +1 -0
  48. package/lib/cosign/dockerfile.d.ts +16 -0
  49. package/lib/cosign/dockerfile.js +61 -0
  50. package/lib/cosign/dockerfile.js.map +1 -0
  51. package/lib/cosign/install.d.ts +45 -0
  52. package/lib/cosign/install.js +229 -0
  53. package/lib/cosign/install.js.map +1 -0
  54. package/lib/docker/assets.d.ts +21 -0
  55. package/lib/docker/assets.js +346 -0
  56. package/lib/docker/assets.js.map +1 -0
  57. package/lib/docker/docker.d.ts +35 -0
  58. package/lib/docker/docker.js +199 -0
  59. package/lib/docker/docker.js.map +1 -0
  60. package/lib/docker/install.d.ts +85 -0
  61. package/lib/docker/install.js +726 -0
  62. package/lib/docker/install.js.map +1 -0
  63. package/lib/dockerhub.d.ts +33 -0
  64. package/lib/dockerhub.js +111 -0
  65. package/lib/dockerhub.js.map +1 -0
  66. package/lib/exec.d.ts +20 -0
  67. package/lib/exec.js +28 -0
  68. package/lib/exec.js.map +1 -0
  69. package/lib/git.d.ts +33 -0
  70. package/lib/git.js +185 -0
  71. package/lib/git.js.map +1 -0
  72. package/lib/github/artifact.d.ts +19 -0
  73. package/lib/github/artifact.js +49 -0
  74. package/lib/github/artifact.js.map +1 -0
  75. package/lib/github/github.d.ts +39 -0
  76. package/lib/github/github.js +135 -0
  77. package/lib/github/github.js.map +1 -0
  78. package/lib/github/summary.d.ts +20 -0
  79. package/lib/github/summary.js +166 -0
  80. package/lib/github/summary.js.map +1 -0
  81. package/lib/index.d.ts +24 -0
  82. package/lib/index.js +48 -0
  83. package/lib/index.js.map +1 -0
  84. package/lib/oci/oci.d.ts +11 -0
  85. package/lib/oci/oci.js +199 -0
  86. package/lib/oci/oci.js.map +1 -0
  87. package/lib/regclient/install.d.ts +30 -0
  88. package/lib/regclient/install.js +136 -0
  89. package/lib/regclient/install.js.map +1 -0
  90. package/lib/regclient/regctl.d.ts +39 -0
  91. package/lib/regclient/regctl.js +102 -0
  92. package/lib/regclient/regctl.js.map +1 -0
  93. package/lib/sigstore/sigstore.d.ts +41 -0
  94. package/lib/sigstore/sigstore.js +461 -0
  95. package/lib/sigstore/sigstore.js.map +1 -0
  96. package/lib/toolkit.d.ts +57 -0
  97. package/lib/toolkit.js +68 -0
  98. package/lib/toolkit.js.map +1 -0
  99. package/lib/types/buildkit/buildkit.d.ts +16 -0
  100. package/lib/types/buildkit/buildkit.js +18 -0
  101. package/lib/types/buildkit/buildkit.js.map +1 -0
  102. package/lib/types/buildkit/client.d.ts +61 -0
  103. package/lib/types/buildkit/client.js +17 -0
  104. package/lib/types/buildkit/client.js.map +1 -0
  105. package/lib/types/buildkit/control.d.ts +88 -0
  106. package/lib/types/buildkit/control.js +17 -0
  107. package/lib/types/buildkit/control.js.map +1 -0
  108. package/lib/types/buildkit/git.d.ts +40 -0
  109. package/lib/types/buildkit/git.js +17 -0
  110. package/lib/types/buildkit/git.js.map +1 -0
  111. package/lib/types/buildkit/ops.d.ts +60 -0
  112. package/lib/types/buildkit/ops.js +17 -0
  113. package/lib/types/buildkit/ops.js.map +1 -0
  114. package/lib/types/buildkit/rpc.d.ts +24 -0
  115. package/lib/types/buildkit/rpc.js +17 -0
  116. package/lib/types/buildkit/rpc.js.map +1 -0
  117. package/lib/types/buildx/bake.d.ts +70 -0
  118. package/lib/types/buildx/bake.js +17 -0
  119. package/lib/types/buildx/bake.js.map +1 -0
  120. package/lib/types/buildx/build.d.ts +19 -0
  121. package/lib/types/buildx/build.js +17 -0
  122. package/lib/types/buildx/build.js.map +1 -0
  123. package/lib/types/buildx/builder.d.ts +52 -0
  124. package/lib/types/buildx/builder.js +17 -0
  125. package/lib/types/buildx/builder.js.map +1 -0
  126. package/lib/types/buildx/buildx.d.ts +42 -0
  127. package/lib/types/buildx/buildx.js +17 -0
  128. package/lib/types/buildx/buildx.js.map +1 -0
  129. package/lib/types/buildx/history.d.ts +111 -0
  130. package/lib/types/buildx/history.js +17 -0
  131. package/lib/types/buildx/history.js.map +1 -0
  132. package/lib/types/buildx/imagetools.d.ts +52 -0
  133. package/lib/types/buildx/imagetools.js +17 -0
  134. package/lib/types/buildx/imagetools.js.map +1 -0
  135. package/lib/types/compose/compose.d.ts +22 -0
  136. package/lib/types/compose/compose.js +17 -0
  137. package/lib/types/compose/compose.js.map +1 -0
  138. package/lib/types/cosign/cosign.d.ts +21 -0
  139. package/lib/types/cosign/cosign.js +17 -0
  140. package/lib/types/cosign/cosign.js.map +1 -0
  141. package/lib/types/docker/docker.d.ts +82 -0
  142. package/lib/types/docker/docker.js +17 -0
  143. package/lib/types/docker/docker.js.map +1 -0
  144. package/lib/types/docker/mediatype.d.ts +18 -0
  145. package/lib/types/docker/mediatype.js +19 -0
  146. package/lib/types/docker/mediatype.js.map +1 -0
  147. package/lib/types/dockerhub.d.ts +104 -0
  148. package/lib/types/dockerhub.js +17 -0
  149. package/lib/types/dockerhub.js.map +1 -0
  150. package/lib/types/github/artifact.d.ts +26 -0
  151. package/lib/types/github/artifact.js +17 -0
  152. package/lib/types/github/artifact.js.map +1 -0
  153. package/lib/types/github/github.d.ts +43 -0
  154. package/lib/types/github/github.js +17 -0
  155. package/lib/types/github/github.js.map +1 -0
  156. package/lib/types/github/summary.d.ts +29 -0
  157. package/lib/types/github/summary.js +17 -0
  158. package/lib/types/github/summary.js.map +1 -0
  159. package/lib/types/intoto/intoto.d.ts +21 -0
  160. package/lib/types/intoto/intoto.js +19 -0
  161. package/lib/types/intoto/intoto.js.map +1 -0
  162. package/lib/types/intoto/slsa_provenance/v0.2/provenance.d.ts +55 -0
  163. package/lib/types/intoto/slsa_provenance/v0.2/provenance.js +18 -0
  164. package/lib/types/intoto/slsa_provenance/v0.2/provenance.js.map +1 -0
  165. package/lib/types/oci/config.d.ts +47 -0
  166. package/lib/types/oci/config.js +17 -0
  167. package/lib/types/oci/config.js.map +1 -0
  168. package/lib/types/oci/descriptor.d.ts +34 -0
  169. package/lib/types/oci/descriptor.js +23 -0
  170. package/lib/types/oci/descriptor.js.map +1 -0
  171. package/lib/types/oci/digest.d.ts +16 -0
  172. package/lib/types/oci/digest.js +17 -0
  173. package/lib/types/oci/digest.js.map +1 -0
  174. package/lib/types/oci/index.d.ts +24 -0
  175. package/lib/types/oci/index.js +17 -0
  176. package/lib/types/oci/index.js.map +1 -0
  177. package/lib/types/oci/layout.d.ts +22 -0
  178. package/lib/types/oci/layout.js +20 -0
  179. package/lib/types/oci/layout.js.map +1 -0
  180. package/lib/types/oci/manifest.d.ts +25 -0
  181. package/lib/types/oci/manifest.js +17 -0
  182. package/lib/types/oci/manifest.js.map +1 -0
  183. package/lib/types/oci/mediatype.d.ts +21 -0
  184. package/lib/types/oci/mediatype.js +22 -0
  185. package/lib/types/oci/mediatype.js.map +1 -0
  186. package/lib/types/oci/oci.d.ts +32 -0
  187. package/lib/types/oci/oci.js +17 -0
  188. package/lib/types/oci/oci.js.map +1 -0
  189. package/lib/types/oci/versioned.d.ts +18 -0
  190. package/lib/types/oci/versioned.js +17 -0
  191. package/lib/types/oci/versioned.js.map +1 -0
  192. package/lib/types/regclient/regclient.d.ts +21 -0
  193. package/lib/types/regclient/regclient.js +17 -0
  194. package/lib/types/regclient/regclient.js.map +1 -0
  195. package/lib/types/sigstore/sigstore.d.ts +80 -0
  196. package/lib/types/sigstore/sigstore.js +20 -0
  197. package/lib/types/sigstore/sigstore.js.map +1 -0
  198. package/lib/types/undock/undock.d.ts +21 -0
  199. package/lib/types/undock/undock.js +17 -0
  200. package/lib/types/undock/undock.js.map +1 -0
  201. package/lib/undock/install.d.ts +30 -0
  202. package/lib/undock/install.js +146 -0
  203. package/lib/undock/install.js.map +1 -0
  204. package/lib/undock/undock.d.ts +42 -0
  205. package/lib/undock/undock.js +121 -0
  206. package/lib/undock/undock.js.map +1 -0
  207. package/lib/util.d.ts +49 -0
  208. package/lib/util.js +218 -0
  209. package/lib/util.js.map +1 -0
  210. package/npm-shrinkwrap.json +2858 -0
  211. package/package.json +57 -0
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=buildx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildx.js","sourceRoot":"","sources":["../../../src/types/buildx/buildx.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,111 @@
1
+ /**
2
+ * Copyright 2024 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export interface InspectOpts {
17
+ ref?: string;
18
+ builder?: string;
19
+ }
20
+ export type BuildStatus = 'completed' | 'running' | 'failed' | 'canceled';
21
+ export interface InspectResponse {
22
+ Name: string;
23
+ Ref: string;
24
+ Context?: string;
25
+ Dockerfile?: string;
26
+ VCSRepository?: string;
27
+ VCSRevision?: string;
28
+ Target?: string;
29
+ Platform?: Array<string>;
30
+ KeepGitDir?: boolean;
31
+ NamedContexts?: Array<InspectKeyValueOutput>;
32
+ StartedAt?: Date;
33
+ CompletedAt?: Date;
34
+ Duration: number;
35
+ Status: BuildStatus;
36
+ Error?: InspectErrorOutput;
37
+ NumCompletedSteps: number;
38
+ NumTotalSteps: number;
39
+ NumCachedSteps: number;
40
+ BuildArgs?: Array<InspectKeyValueOutput>;
41
+ Labels?: Array<InspectKeyValueOutput>;
42
+ Config?: InspectConfigOutput;
43
+ Materials?: InspectMaterialOutput[];
44
+ Attachments?: InspectAttachmentOutput[];
45
+ Errors?: Array<string>;
46
+ }
47
+ export interface InspectConfigOutput {
48
+ Network?: string;
49
+ ExtraHosts?: Array<string>;
50
+ Hostname?: string;
51
+ CgroupParent?: string;
52
+ ImageResolveMode?: string;
53
+ MultiPlatform?: boolean;
54
+ NoCache?: boolean;
55
+ NoCacheFilter?: Array<string>;
56
+ ShmSize?: string;
57
+ Ulimit?: string;
58
+ CacheMountNS?: string;
59
+ DockerfileCheckConfig?: string;
60
+ SourceDateEpoch?: string;
61
+ SandboxHostname?: string;
62
+ RestRaw?: Array<InspectKeyValueOutput>;
63
+ }
64
+ export interface InspectMaterialOutput {
65
+ URI?: string;
66
+ Digests?: Array<string>;
67
+ }
68
+ export interface InspectAttachmentOutput {
69
+ Digest?: string;
70
+ Platform?: string;
71
+ Type?: string;
72
+ }
73
+ export interface InspectErrorOutput {
74
+ Code?: number;
75
+ Message?: string;
76
+ Name?: string;
77
+ Logs?: Array<string>;
78
+ Sources?: any;
79
+ Stack?: any;
80
+ }
81
+ export interface InspectKeyValueOutput {
82
+ Name?: string;
83
+ Value?: string;
84
+ }
85
+ export interface ExportOpts {
86
+ refs: Array<string>;
87
+ noSummaries?: boolean;
88
+ image?: string;
89
+ }
90
+ export interface ExportResponse {
91
+ dockerbuildFilename: string;
92
+ dockerbuildSize: number;
93
+ builderName: string;
94
+ nodeName: string;
95
+ refs: Array<string>;
96
+ summaries?: Summaries;
97
+ }
98
+ export interface Summaries {
99
+ [ref: string]: Summary;
100
+ }
101
+ export interface Summary {
102
+ name: string;
103
+ status: string;
104
+ duration: string;
105
+ numCachedSteps: number;
106
+ numTotalSteps: number;
107
+ numCompletedSteps: number;
108
+ frontendAttrs?: Record<string, string>;
109
+ defaultPlatform?: string;
110
+ error?: string;
111
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2024 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=history.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history.js","sourceRoot":"","sources":["../../../src/types/buildx/history.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Copyright 2025 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Versioned } from '../oci/versioned.js';
17
+ import { Descriptor, Platform } from '../oci/descriptor.js';
18
+ import { Digest } from '../oci/digest.js';
19
+ export interface InspectOpts {
20
+ name: string;
21
+ retryOnManifestUnknown?: boolean;
22
+ retryLimit?: number;
23
+ }
24
+ export interface AttestationInspectOpts extends InspectOpts {
25
+ platform?: Platform;
26
+ }
27
+ export interface Manifest extends Versioned {
28
+ mediaType?: string;
29
+ digest: Digest;
30
+ size: number;
31
+ manifests?: Descriptor[];
32
+ annotations?: Record<string, string>;
33
+ }
34
+ export interface CreateOpts {
35
+ sources: Array<string>;
36
+ tags?: Array<string>;
37
+ platforms?: Array<string>;
38
+ annotations?: Array<string>;
39
+ dryRun?: boolean;
40
+ silent?: boolean;
41
+ skipExec?: boolean;
42
+ }
43
+ export interface CreateResponse {
44
+ 'containerimage.digest'?: Digest;
45
+ 'containerimage.descriptor'?: Descriptor;
46
+ 'image.name'?: string;
47
+ }
48
+ export interface CreateResult {
49
+ digest: Digest;
50
+ descriptor: Descriptor;
51
+ imageNames: Array<string>;
52
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2025 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=imagetools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imagetools.js","sourceRoot":"","sources":["../../../src/types/buildx/imagetools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Copyright 2025 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { GitHubContentOpts } from '../github/github.js';
17
+ export interface DownloadVersion {
18
+ key: string;
19
+ version: string;
20
+ downloadURL: string;
21
+ contentOpts: GitHubContentOpts;
22
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2025 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=compose.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compose.js","sourceRoot":"","sources":["../../../src/types/compose/compose.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright 2025 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { GitHubContentOpts } from '../github/github.js';
17
+ export interface DownloadVersion {
18
+ version: string;
19
+ downloadURL: string;
20
+ contentOpts: GitHubContentOpts;
21
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2025 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=cosign.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cosign.js","sourceRoot":"","sources":["../../../src/types/cosign/cosign.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export interface ConfigFile {
17
+ auths: Record<string, AuthConfig>;
18
+ HttpHeaders?: Record<string, string>;
19
+ psFormat?: string;
20
+ imagesFormat?: string;
21
+ networksFormat?: string;
22
+ pluginsFormat?: string;
23
+ volumesFormat?: string;
24
+ statsFormat?: string;
25
+ detachKeys?: string;
26
+ credsStore?: string;
27
+ credHelpers?: Record<string, string>;
28
+ serviceInspectFormat?: string;
29
+ servicesFormat?: string;
30
+ tasksFormat?: string;
31
+ secretFormat?: string;
32
+ configFormat?: string;
33
+ nodesFormat?: string;
34
+ pruneFilters?: string[];
35
+ proxies?: Record<string, ProxyConfig>;
36
+ experimental?: string;
37
+ stackOrchestrator?: string;
38
+ kubernetes?: KubernetesConfig;
39
+ currentContext?: string;
40
+ cliPluginsExtraDirs?: string[];
41
+ plugins?: Record<string, Record<string, string>>;
42
+ aliases?: Record<string, string>;
43
+ }
44
+ export interface ProxyConfig {
45
+ httpProxy?: string;
46
+ httpsProxy?: string;
47
+ noProxy?: string;
48
+ ftpProxy?: string;
49
+ }
50
+ export interface KubernetesConfig {
51
+ allNamespaces?: string;
52
+ }
53
+ export interface AuthConfig {
54
+ username?: string;
55
+ password?: string;
56
+ auth?: string;
57
+ email?: string;
58
+ serveraddress?: string;
59
+ identitytoken?: string;
60
+ registrytoken?: string;
61
+ }
62
+ export interface ContextInfo {
63
+ Name: string;
64
+ Metadata: any;
65
+ Endpoints: Record<string, EndpointInfo>;
66
+ TLSMaterial: Record<string, Array<string>>;
67
+ Storage: StorageInfo;
68
+ }
69
+ export interface EndpointInfo {
70
+ Host?: string;
71
+ SkipVerify: boolean;
72
+ TLSData?: TLSData;
73
+ }
74
+ export interface TLSData {
75
+ CA: any;
76
+ Key: any;
77
+ Cert: any;
78
+ }
79
+ export interface StorageInfo {
80
+ MetadataPath: string;
81
+ TLSPath: string;
82
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=docker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docker.js","sourceRoot":"","sources":["../../../src/types/docker/docker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const MEDIATYPE_IMAGE_MANIFEST_LIST_V2 = "application/vnd.docker.distribution.manifest.list.v2+json";
17
+ export declare const MEDIATYPE_IMAGE_MANIFEST_V2 = "application/vnd.docker.distribution.manifest.v2+json";
18
+ export declare const MEDIATYPE_IMAGE_CONFIG_V1 = "application/vnd.docker.container.image.v1+json";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export const MEDIATYPE_IMAGE_MANIFEST_LIST_V2 = 'application/vnd.docker.distribution.manifest.list.v2+json';
17
+ export const MEDIATYPE_IMAGE_MANIFEST_V2 = 'application/vnd.docker.distribution.manifest.v2+json';
18
+ export const MEDIATYPE_IMAGE_CONFIG_V1 = 'application/vnd.docker.container.image.v1+json';
19
+ //# sourceMappingURL=mediatype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediatype.js","sourceRoot":"","sources":["../../../src/types/docker/mediatype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,2DAA2D,CAAC;AAE5G,MAAM,CAAC,MAAM,2BAA2B,GAAG,sDAAsD,CAAC;AAElG,MAAM,CAAC,MAAM,yBAAyB,GAAG,gDAAgD,CAAC"}
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export interface TokenRequest {
17
+ username: string;
18
+ password: string;
19
+ }
20
+ export interface TokenResponse {
21
+ token: string;
22
+ detail: string;
23
+ }
24
+ export interface RepositoryRequest {
25
+ namespace: string;
26
+ name: string;
27
+ }
28
+ export interface RepositoryResponse {
29
+ user: string;
30
+ name: string;
31
+ namespace: string;
32
+ repository_type: string;
33
+ status: number;
34
+ status_description: string;
35
+ description: string;
36
+ is_private: boolean;
37
+ is_automated: boolean;
38
+ can_edit: boolean;
39
+ star_count: number;
40
+ pull_count: number;
41
+ last_updated: string;
42
+ date_registered: string;
43
+ collaborator_count: number;
44
+ affiliation: string;
45
+ hub_user: string;
46
+ has_starred: boolean;
47
+ full_description: string;
48
+ permissions: {
49
+ read: boolean;
50
+ write: boolean;
51
+ admin: boolean;
52
+ };
53
+ media_types: Array<string>;
54
+ content_types: Array<string>;
55
+ }
56
+ export interface RepositoryTagsRequest {
57
+ namespace: string;
58
+ name: string;
59
+ page?: number;
60
+ page_size?: number;
61
+ }
62
+ export interface RepositoryTagsResponse {
63
+ count: number;
64
+ next?: string;
65
+ previous?: string;
66
+ results: Array<RepositoryTagsResult>;
67
+ }
68
+ export interface RepositoryTagsResult {
69
+ creator: number;
70
+ id: number;
71
+ images: Array<RepositoryTagsResultImage>;
72
+ last_updated: Date;
73
+ last_updater: number;
74
+ last_updater_username: string;
75
+ name: string;
76
+ repository: number;
77
+ full_size: number;
78
+ v2: boolean;
79
+ tag_status: string;
80
+ tag_last_pulled: Date;
81
+ tag_last_pushed: Date;
82
+ media_type: string;
83
+ content_type: string;
84
+ digest: string;
85
+ }
86
+ export interface RepositoryTagsResultImage {
87
+ architecture: string;
88
+ features: string;
89
+ variant?: string;
90
+ digest: string;
91
+ os: string;
92
+ os_features: string;
93
+ os_version?: string;
94
+ size: number;
95
+ status: string;
96
+ last_pulled: Date;
97
+ last_pushed: Date;
98
+ }
99
+ export interface UpdateRepoDescriptionRequest {
100
+ name: string;
101
+ namespace: string;
102
+ description?: string;
103
+ full_description: string;
104
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2023 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=dockerhub.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dockerhub.js","sourceRoot":"","sources":["../../src/types/dockerhub.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Copyright 2026 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export interface UploadOpts {
17
+ filename: string;
18
+ retentionDays?: number;
19
+ }
20
+ export interface UploadResponse {
21
+ id: number;
22
+ filename: string;
23
+ digest: string;
24
+ size: number;
25
+ url: string;
26
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2026 actions-toolkit authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=artifact.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact.js","sourceRoot":"","sources":["../../../src/types/github/artifact.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}