ci: Show TED tag used in run name and summary (#32445)

This is to make it apparent what TED tag was used to run a workflow, so
that runs that happened with an unstable (non `latest`) tag of TED
aren't taken seriously.
This commit is contained in:
Shrikant Sharat Kandula 2024-04-05 12:09:02 +05:30 committed by GitHub
parent c8f1b82ca5
commit bdd130d95c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,8 @@
name: Test, build and push Docker Image
run-name: >
${{ github.workflow }} with TED:${{ inputs.ted_tag }}
on:
# This workflow will run everyday at 7:00AM, 1:00PM IST on weekdays
schedule:
@ -34,6 +37,12 @@ jobs:
tags: ${{ steps.setup.outputs.tags }}
matrix: ${{ steps.setup.outputs.matrix }}
steps:
- name: "Post inputs to run summary"
env:
INPUTS: "${{ toJSON(inputs) }}"
run: |
echo $'## Inputs\n```\n'"$INPUTS"$'\n```' > "$GITHUB_STEP_SUMMARY"
- name: Set tags and matrix runner
id: setup
run: |