diff --git a/action.yml b/action.yml index 5e10193..5c1fd4f 100644 --- a/action.yml +++ b/action.yml @@ -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' diff --git a/entrypoint.sh b/entrypoint.sh index 820921f..ad90d8b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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