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:
parent
c8f1b82ca5
commit
bdd130d95c
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user