We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 140a5d3 commit 6cd5ae8Copy full SHA for 6cd5ae8
1 file changed
src/commands/docker/extract_node_modules.yml
@@ -0,0 +1,19 @@
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
+ image_repo: << parameters.image_repo >>
16
+ target: node_modules
17
+ platform: << parameters.platform >>
18
+ output: type=local,dest=./node_modules
19
+ extra_build_args: NODE_VERSION=<< parameters.node_version >>
0 commit comments