mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-27 12:21: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:
|
command:
|
||||||
description: 'Command'
|
description: 'Command'
|
||||||
required: false
|
required: false
|
||||||
args:
|
|
||||||
description: 'Args'
|
|
||||||
required: false
|
|
||||||
registry:
|
registry:
|
||||||
description: 'Registry'
|
description: 'Registry'
|
||||||
required: false
|
required: false
|
||||||
|
@ -11,9 +11,6 @@ inputs:
|
|||||||
command:
|
command:
|
||||||
description: 'Command'
|
description: 'Command'
|
||||||
required: false
|
required: false
|
||||||
args:
|
|
||||||
description: 'Args'
|
|
||||||
required: false
|
|
||||||
registry:
|
registry:
|
||||||
description: 'Registry'
|
description: 'Registry'
|
||||||
required: false
|
required: false
|
||||||
|
@ -4,4 +4,4 @@ if [ ! -z $INPUT_USERNAME ];
|
|||||||
then echo $INPUT_USERNAME | docker login $INPUT_REGISTRY -u $INPUT_PASSWORD --password-stdin
|
then echo $INPUT_USERNAME | docker login $INPUT_REGISTRY -u $INPUT_PASSWORD --password-stdin
|
||||||
fi
|
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