Skip to content

Commit 56d35a7

Browse files
committed
switch to use Dockerfile
1 parent 1a821ff commit 56d35a7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: scarbous/node-runner
2+
branding:
3+
icon: package
4+
color: orange
25
description: It will install and run your npm script
36
inputs:
47
nodeVersion:
@@ -12,7 +15,9 @@ inputs:
1215
default: "build"
1316
runs:
1417
using: 'docker'
18+
args:
19+
- NODE_VERSION=${{ inputs.nodeVersion }}
1520
env:
1621
DIR: "/github/workspace/${{ inputs.dir }}"
1722
TASK: ${{ inputs.task }}
18-
image: "docker://ghcr.io/scarbous/node-runner/${{ inputs.nodeVersion }}:latest"
23+
image: "Dockerfile"

0 commit comments

Comments
 (0)