Skip to content

Commit 6cd5ae8

Browse files
committed
feat(wip): extract node_modules from docker
1 parent 140a5d3 commit 6cd5ae8

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
type: string
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

Comments
 (0)