docker-run-action/action.yml
Jonatan Heyman a42f5acd32 Revert "Use env variable for docker network id, instead of github action input"
This reverts commit 23e2be876eb917ad164ddc37db6d66fe317d8e7d.
2021-01-28 17:00:10 +01:00

34 lines
705 B
YAML

# action.yml
name: 'Docker Run Action'
description: 'Run a command in a new container'
inputs:
image:
description: 'Image'
required: true
options:
description: 'Options'
required: false
run:
description: 'Run command in container'
required: false
shell:
description: 'Use a specific shell'
required: false
default: sh
registry:
description: 'Registry'
required: false
username:
description: 'Username'
required: false
password:
description: 'Password'
required: false
docker_network:
description: 'Docker Network ID'
default: ${{ job.container.network }}
retuired: false
runs:
using: 'docker'
image: 'Dockerfile'