We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 140a5d3 commit 23ac254Copy full SHA for 23ac254
1 file changed
src/commands/docker/extract_node_modules.yml
@@ -0,0 +1,20 @@
1
+parameters:
2
+ image_repo:
3
+ description: The container image repository
4
+ type: string
5
+ platform:
6
+ description: Platform to build against
7
+ type: enum
8
+ default: "linux/amd64"
9
+ enum: ["linux/amd64", "linux/arm64"]
10
+ node_version:
11
+ description: Node version
12
13
+steps:
14
+ - staged_buildx:
15
+ name: "Extract node_modules from docker image"
16
+ image_repo: << parameters.image_repo >>
17
+ target: node_modules
18
+ platforms: << parameters.platform >>
19
+ output: type=local,dest=./node_modules
20
+ extra_build_args: NODE_VERSION=<< parameters.node_version >>
0 commit comments