File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Codefresh Helm Plugin
2
2
3
- Use Codefresh [ Helm ] ( https://helm.sh ) plugin to deploy a Helm chart into specified (by context) Kubernetes cluster.
3
+ The release-to-npm can be used to publish images to npm.
4
4
5
5
## Usage
6
6
@@ -14,22 +14,18 @@ steps:
14
14
15
15
...
16
16
17
- release_to_env :
18
- image : codefresh/plugin-helm:2.7.2
19
-
17
+ deploy_to_npm :
18
+ title : Publishing To Npm
19
+ image : codefresh/release-to-npm
20
+ commands :
21
+ - NPM_TOKEN=${{NPM_TOKEN}} npm run ci-publish
20
22
...
21
23
22
24
```
23
25
24
26
## Environment Variables
25
27
26
- - ** required** ` CHART_NAME ` - Helm chart name
27
- - ** required** ` RELEASE_NAME ` - Helm release name
28
- - ** required** ` KUBE_CONTEXT ` - Kubernetes context to use (cluster name from Codefresh-Kubernetes integration)
29
- - ` NAMESPACE ` - target Kubernetes namespace
30
- - ` CHART_VERSION ` - application chart version to install
31
- - ` CHART_REPO_URL ` - Helm chart repository URL
32
- - ` DRY_RUN ` - do a "dry run" installation (do not install anything, useful for Debug)
33
- - ` DEBUG ` - print verbose install output
34
- - ` WAIT ` - block step execution till installation completed and all Kubernetes resources are ready
35
- - ` TIMEOUT ` - wait timeout (5min by default)
28
+ - ** required** ` NPM_TOKEN ` - token of npm account
29
+ for get the token please see https://docs.npmjs.com/private-modules/ci-server-config#getting-an-authentication-token
30
+
31
+
You can’t perform that action at this time.
0 commit comments