Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-7457

Ecosystem: tkn version prints product version instead of client version

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      When I run `tkn version` locally, it prints

      $ tkn version
      Client version: 0.40.0
      

      but when I run it inside "tkn" task or directly using image http://registry.redhat.io/openshift-pipelines/pipelines-cli-tkn-rhel9@sha256:95a138747d0fac4b00a70805dd0b9262ed60aba940db894b90a94db8b786ac44, it prints the following

      $ tkn version
      Client version: 1.18
      

      The error is only in 1.18.0 because of https://github.com/openshift-pipelines/tektoncd-cli/blob/release-v1.18.x/.konflux/dockerfiles/tkn.Dockerfile#L9

      1.14.6 is correct https://github.com/openshift-pipelines/tektoncd-cli/blob/release-v1.14.x/.konflux/dockerfiles/tkn.Dockerfile

              sashture Savita .
              ppitonak Pavol Pitoňák
              Sai Raju Manthina Sai Raju Manthina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: