kind: TaskRun
apiVersion: tekton.dev/v1beta1
metadata:
  generateName: test-taskrun-
spec:
  taskSpec:
    steps:
    - image: public.ecr.aws/ubuntu/ubuntu:latest
      name: print-uid
      script: |
        echo "TaskRunUID name: $(context.taskRun.uid)"
    - image: public.ecr.aws/ubuntu/ubuntu:latest
      name: print-names
      script: |
        echo "Task name: $(context.task.name)"
        echo "TaskRun name: $(context.taskRun.name)"
