Add docker_network input

This commit is contained in:
Jonatan Heyman 2021-01-28 16:39:33 +01:00
parent f3a2d182d8
commit 8bce4aa10a
2 changed files with 5 additions and 0 deletions

View File

@ -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'

View File

@ -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