Is it possible to run a docker image from a Tekton task? A majority of examples I have seen have to do with building and deploying Docker Images with Tekton, but nothing on how to run an already built image.
I am using a cron job to trigger a Tekton EventListener which then runs a Taskrun. I want the task to run a docker image hosted on a private docker repo. The Taskrun refers to this Task.
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: update-ip
spec:
steps:
- name: update-ip
image: [<private-docker-repo>]
command: ["docker"]
args: ["run", <private-docker-repo/path-to-image>]
Here is an example of common tutorials i see
any help would be appreciated