Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

security: fix script injection in operator-release workflow (#1764)

rodageve18952de21d48
diff --git a/.github/workflows/operator-release.yml b/.github/workflows/operator-release.yml
index b971454cb..53f09fd27 100644
--- a/.github/workflows/operator-release.yml
+++ b/.github/workflows/operator-release.yml
@@ -36,9 +36,11 @@ jobs:
- name: Resolve image tag
id: tag
+ env:
+ INPUT_TAG: ${{ inputs.tag }}
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
- echo "value=${{ inputs.tag }}" >> $GITHUB_OUTPUT
+ echo "value=${INPUT_TAG}" >> $GITHUB_OUTPUT
else
# Strip the "operator/" prefix from the git tag
echo "value=${GITHUB_REF_NAME#operator/}" >> $GITHUB_OUTPUT
@@ -78,9 +80,11 @@ jobs:
- name: Resolve image tag
id: tag
+ env:
+ INPUT_TAG: ${{ inputs.tag }}
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
- echo "value=${{ inputs.tag }}" >> $GITHUB_OUTPUT
+ echo "value=${INPUT_TAG}" >> $GITHUB_OUTPUT
else
echo "value=${GITHUB_REF_NAME#operator/}" >> $GITHUB_OUTPUT
fi