This repository has been archived on 2024-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
docker-run-action/action.yml

34 lines
705 B
YAML
Raw Normal View History

2020-06-18 00:47:31 +02:00
# 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
2020-06-18 03:00:26 +02:00
run:
description: 'Run command in container'
2020-06-18 00:47:31 +02:00
required: false
2020-06-18 03:21:47 +02:00
shell:
description: 'Use a specific shell'
required: false
default: sh
2020-06-18 00:47:31 +02:00
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 }}
required: false
2020-06-18 00:47:31 +02:00
runs:
using: 'docker'
image: 'Dockerfile'