setup-redis/action.yml

29 lines
671 B
YAML

name: 'Redis Server in GitHub Actions'
description: 'Start a Redis server (on default port 6379)'
branding:
icon: 'database'
color: 'red'
inputs:
redis-version:
description: 'Redis version to use'
required: false
default: 'latest'
redis-port:
description: 'Redis port to use and expose'
required: false
default: 6379
redis-container-name:
description: "Name of the created container. Useful if you run multiple Redis containers"
required: false
default: 'redis'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.redis-version }}
- ${{ inputs.redis-port }}
- ${{ inputs.redis-container-name }}