2019-12-17 12:44:54 +00:00
|
|
|
name: 'Redis Server in GitHub Actions'
|
2021-12-28 05:55:39 +00:00
|
|
|
description: 'Start a Redis server'
|
2019-12-17 12:44:54 +00:00
|
|
|
|
|
|
|
branding:
|
|
|
|
icon: 'database'
|
|
|
|
color: 'red'
|
|
|
|
|
|
|
|
inputs:
|
2023-02-12 22:26:11 +00:00
|
|
|
redis-image:
|
|
|
|
description: 'Redis image to use. Useful if you need to run a custom Redis image'
|
|
|
|
required: false
|
|
|
|
default: 'redis'
|
2019-12-17 12:44:54 +00:00
|
|
|
redis-version:
|
|
|
|
description: 'Redis version to use'
|
|
|
|
required: false
|
|
|
|
default: 'latest'
|
2021-12-27 05:41:35 +00:00
|
|
|
redis-port:
|
|
|
|
description: 'Redis port to use and expose'
|
|
|
|
required: false
|
|
|
|
default: 6379
|
2021-12-28 05:55:29 +00:00
|
|
|
redis-container-name:
|
|
|
|
description: "Name of the created container. Useful if you run multiple Redis containers"
|
|
|
|
required: false
|
|
|
|
default: 'redis'
|
2023-07-25 22:36:40 +00:00
|
|
|
redis-remove-container:
|
|
|
|
description: "Remove container after container exit?"
|
|
|
|
required: false
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2021-12-28 05:53:01 +00:00
|
|
|
|
2019-12-17 12:44:54 +00:00
|
|
|
runs:
|
2019-12-18 09:28:22 +00:00
|
|
|
using: 'docker'
|
|
|
|
image: 'Dockerfile'
|
|
|
|
args:
|
2023-02-12 22:26:11 +00:00
|
|
|
- ${{ inputs.redis-image }}
|
2019-12-18 09:28:22 +00:00
|
|
|
- ${{ inputs.redis-version }}
|
2021-12-27 05:41:35 +00:00
|
|
|
- ${{ inputs.redis-port }}
|
2021-12-28 05:55:29 +00:00
|
|
|
- ${{ inputs.redis-container-name }}
|
2023-07-25 22:36:40 +00:00
|
|
|
- ${{ inputs.redis-remove-container }}
|