I just want to create a simple Tekton pipeline on OpenShift (v4) using the Tekton operator. My pipeline consists in the following operations:
- fetch a given git repository,
- build a nodejs application with the s2i-nodejs Tekton task,
- copy the resulting image from the internal OpenShift registry into an external registry.
Implementing the first two steps is without any problem, implementing the third one is incredibly complicated without expert guidance.
Which tool do I need to use to copy my resulting container image (skopeo, crane, etc)?
How do I deal with the credentials (at the CLI, in an authfile, etc)?
Do I need to use a dedicated service account (default pipeline sa is not recommended)?
Is there an example somewhere that might help me?