mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-26 18:51:03 +08:00
Add docker_network input
This commit is contained in:
parent
f3a2d182d8
commit
8bce4aa10a
@ -24,6 +24,10 @@ inputs:
|
||||
password:
|
||||
description: 'Password'
|
||||
required: false
|
||||
docker_network:
|
||||
description: 'Docker Network ID'
|
||||
default: ${{ job.container.network }}
|
||||
retuired: false
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
|
@ -5,6 +5,7 @@ then echo $INPUT_PASSWORD | docker login $INPUT_REGISTRY -u $INPUT_USERNAME --pa
|
||||
fi
|
||||
|
||||
env
|
||||
docker network ls
|
||||
|
||||
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user