-
Hello! I am attempting to use the buildpacks Tekton task to clone a Github repo, build the image and then push it to my public repo on Docker Hub. Everything seems to be working until the last step. The error info in the pod logs isn't super helpful: One thing I am questioning is whether I am setting the Docker Hub repo url correctly. After reading the documentation I believe that is what the 'APP_IMAGE' var should reflect. Is that correct? From docs: My Docker Hub repo: ^^ This is the same value I am setting for 'APP_IMAGE'. The repo doesn't currently contain any images - the one that buildpacks is pushing would be the first image. Does all of this sound correct? I am pretty new to Tekton, Buildpacks and Kubernetes and trying to ramp up on all of these things but may have a few gaps in my knowledge still. Thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @jspruance and welcome to the Buildpacks community. The docs for our Tekton task describe https://buildpacks.io/docs/tools/tekton/#43-pipeline as the pipeline definition. Which takes an input params:
- name: image
value: <REGISTRY/IMAGE NAME, eg gcr.io/test/image > Could you share your |
Beta Was this translation helpful? Give feedback.
-
Just to add - it is failing on the 'create' step. Is there any way to get more detailed error messaging so I can see what went wrong?
|
Beta Was this translation helpful? Give feedback.
-
Update: I got this working after changing the 'image' value to just the image / tag instead of the URL of the image:
I think the documentation around this is a bit confusing as the example makes it seem like this should be a URL not an image name:
Thanks for the help. |
Beta Was this translation helpful? Give feedback.
Update: I got this working after changing the 'image' value to just the image / tag instead of the URL of the image:
I think the documentation around this is a bit confusing as the example makes it seem like this should be a URL not an image name:
Thanks for the help.