-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a specific version and context support for kaniko #32
Conversation
The similar PR is submitted to Tektoncd pipeline as well: tektoncd/pipeline#878 for version change. |
/assign @vdemeester |
68c41f0
to
bf1beb0
Compare
ad0c68c
to
43c65c2
Compare
We need to pin to specific version rather than go with the dynamic latest commit. The version v0.9.0 seems to be a stable one. Add the parameter context support for kaniko.
43c65c2
to
1d8143e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
Thanks!
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: houshengbo, ImJasonH, vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -30,4 +32,5 @@ spec: | |||
command: | |||
- /kaniko/executor | |||
- --dockerfile=${inputs.params.DOCKERFILE} | |||
- --context=/workspace/source/${inputs.params.CONTEXT} # The user does not need to care the workspace and the source. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!! :D p.s. with path templating (i.e. in this case ${inputs.resouces.source.path}/${inputs.params.CONTEXT}
) the author of the Task wouldnt have to worry about it either :D
We need to pin to specific version rather than go with the dynamic latest commit. The version v0.9.0 seems to be a stable one.
Add the parameter context support for kaniko.
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.