mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-26 18:51:03 +08:00
fix: no need args
This commit is contained in:
parent
7ff049bcd1
commit
81b4f22df4
@ -25,9 +25,6 @@ Docker already supports running commands inside a docker image. See [jobs.<jobs_
|
||||
command:
|
||||
description: 'Command'
|
||||
required: false
|
||||
args:
|
||||
description: 'Args'
|
||||
required: false
|
||||
registry:
|
||||
description: 'Registry'
|
||||
required: false
|
||||
|
@ -11,9 +11,6 @@ inputs:
|
||||
command:
|
||||
description: 'Command'
|
||||
required: false
|
||||
args:
|
||||
description: 'Args'
|
||||
required: false
|
||||
registry:
|
||||
description: 'Registry'
|
||||
required: false
|
||||
|
@ -4,4 +4,4 @@ if [ ! -z $INPUT_USERNAME ];
|
||||
then echo $INPUT_USERNAME | docker login $INPUT_REGISTRY -u $INPUT_PASSWORD --password-stdin
|
||||
fi
|
||||
|
||||
exec docker run $INPUT_OPTIONS $INPUT_IMAGE $INPUT_COMMAND $INPUT_ARGS
|
||||
exec docker run $INPUT_OPTIONS $INPUT_IMAGE $INPUT_COMMAND
|
||||
|
Loading…
x
Reference in New Issue
Block a user