We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a830bf commit 113f062Copy full SHA for 113f062
1 file changed
.github/workflows/deploy-unified.yml
@@ -163,10 +163,7 @@ jobs:
163
# Generate unique tag for manual deployment runs
164
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
165
RUN_ID="${{ github.run_id }}"
166
- BRANCH_NAME="${{ env.BRANCH_NAME }}"
167
- # Sanitize branch name for Docker tag (replace invalid characters with hyphens)
168
- CLEAN_BRANCH_NAME=$(echo "$BRANCH_NAME" | sed 's/[^a-zA-Z0-9._-]/-/g' | sed 's/--*/-/g' | sed 's/^-\|-$//g')
169
- UNIQUE_TAG="${CLEAN_BRANCH_NAME}-${TIMESTAMP}-${RUN_ID}"
+ UNIQUE_TAG="manual-${TIMESTAMP}-${RUN_ID}"
170
echo "IMAGE_TAG=$UNIQUE_TAG" >> $GITHUB_ENV
171
echo "IMAGE_TAG=$UNIQUE_TAG" >> $GITHUB_OUTPUT
172
echo "Generated unique Docker tag: $UNIQUE_TAG"
0 commit comments