Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/redis-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch: # <-- added: allows manual runs from the Actions UI
inputs:
redis_version:
description: 'Redis version (overrides REDIS_VERSION env)'
required: false
default: '8.4'
base_os:
description: 'Base OS (overrides BASE_OS env)'
required: false
default: 'debian-12'

jobs:
build:
Expand All @@ -18,6 +28,9 @@ jobs:
- uses: actions/checkout@v4
- name: Build the Docker image
run: |
# Use inputs when provided, fallback to env
REDIS_VERSION="${{ github.event.inputs.redis_version || env.REDIS_VERSION }}"
BASE_OS="${{ github.event.inputs.base_os || env.BASE_OS }}"
BUILD_PATH="bitnami/${REDIS_CONTAINER}/${REDIS_VERSION}/${BASE_OS}"
LOCAL_TAG="dvs-${REDIS_CONTAINER}:${REDIS_VERSION}-${BASE_OS}"
docker build "$BUILD_PATH" \
Expand Down
Loading