-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update readme and parameters to they match each other #17
base: main
Are you sure you want to change the base?
Conversation
@@ -1,4 +1,4 @@ | |||
FROM okteto/okteto:latest | |||
FROM okteto/okteto:2.18.0 |
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.
@jLopezbarb shall we start pinning the version for the actions?
Should we add updating the pinned version as part of the release?
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.
I think we were going to use:
- main for latest
- v2 for the latest v2
- v1 for the latest v1
If we pin it we would have to change it in every CLI release and we'll need to update the actions script
@@ -11,10 +11,25 @@ You can use this action to build images from an [Okteto Manifest](https://www.ok | |||
|
|||
## Inputs | |||
|
|||
### `tag` |
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.
The inputs where removed as "not suported" although they exist at the actions.yaml in order to preserve compatibility with older workflows
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.
I think the inputs are for the v1
branch so it depend on how we want to organise the v1 and v2.
v1 had some tags that were retrocompatible with v2.
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.
all the inputs I added here are active on the latest version of the Okteto CLI. Can we add them here?
|
||
You can specify a custom certificate authority or a self-signed certificate by setting the `OKTETO_CA_CERT` environment variable. When this variable is set, the action will install the certificate in the container, and then execute the action. | ||
This example sets the context, and then builds an image that is not defined in the Okteto manifest |
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.
@jLopezbarb do you have context on why tag was not supported anymore with 2.0 change?
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.
I can't remember. I think it was because with the manifest v2 some flags were skipped so we created v1 and v2 to differentiate between them
@@ -1,4 +1,4 @@ | |||
FROM okteto/okteto:latest | |||
FROM okteto/okteto:2.18.0 |
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.
FROM okteto/okteto:2.18.0 | |
FROM okteto/okteto:latest |
Signed-off-by: Teresa Romero <[email protected]>
* refactor: remove deprecated global argument Signed-off-by: Teresa Romero <[email protected]> * refactor: fix file argument Signed-off-by: Teresa Romero <[email protected]> * refactor: include tag param into Readme and entrypoint Signed-off-by: Teresa Romero <[email protected]> * refactor: include path into command Signed-off-by: Teresa Romero <[email protected]> * docs: README update Signed-off-by: Teresa Romero <[email protected]> * refactor: add buildargs support Signed-off-by: Teresa Romero <[email protected]> * docs: README update based on #17 Signed-off-by: Teresa Romero <[email protected]> * refactor: fix build-args support Signed-off-by: Teresa Romero <[email protected]> * refactor: support other flags for build command Signed-off-by: Teresa Romero <[email protected]> * Apply suggestions from code review Co-authored-by: Andrea Falzetti <[email protected]> --------- Signed-off-by: Teresa Romero <[email protected]> Co-authored-by: Andrea Falzetti <[email protected]>
* refactor: remove deprecated global argument Signed-off-by: Teresa Romero <[email protected]> * refactor: fix file argument Signed-off-by: Teresa Romero <[email protected]> * refactor: include tag param into Readme and entrypoint Signed-off-by: Teresa Romero <[email protected]> * refactor: include path into command Signed-off-by: Teresa Romero <[email protected]> * docs: README update Signed-off-by: Teresa Romero <[email protected]> * refactor: add buildargs support Signed-off-by: Teresa Romero <[email protected]> * docs: README update based on #17 Signed-off-by: Teresa Romero <[email protected]> * refactor: fix build-args support Signed-off-by: Teresa Romero <[email protected]> * refactor: support other flags for build command Signed-off-by: Teresa Romero <[email protected]> * Apply suggestions from code review Co-authored-by: Andrea Falzetti <[email protected]> --------- Signed-off-by: Teresa Romero <[email protected]> Co-authored-by: Andrea Falzetti <[email protected]>
No description provided.