File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 31
31
- name : Create Release
32
32
uses : softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
33
33
env :
34
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ GITHUB_TOKEN : ${{ secrets.TOKEN }}
35
35
with :
36
36
# uses the HEAD on the default branch when creating the tag
37
37
tag_name : ${{ github.event.inputs.tag }}
Original file line number Diff line number Diff line change @@ -123,6 +123,20 @@ $ clusterlint --plugins=/path/to/plugin.so list
123
123
$ clusterlint --plugins=/path/to/plugin.so run -c my-plugin-check
124
124
```
125
125
126
+ ## Release
127
+
128
+ To release a new version of clusterlint, go to the actions page on GitHub, click on ` Run workflow ` .
129
+ Specify the new tag to create. Make sure the tag is prefixed with ` v ` .
130
+
131
+ The workflow does the following:
132
+
133
+ - Checks out the source code from the default branch
134
+ - Login with dockerhub credentials specified as secrets
135
+ - Builds the docker image digitalocean/clusterlint:<tag >
136
+ - Pushes digitalocean/clusterlint:<tag > to dockerhub
137
+ - Builds binaries for all archs and computes sha256 sums for each binary
138
+ - Creates release and tags the latest commit on the default branch with the input tag specified when workflow is triggered
139
+
126
140
## Contributing
127
141
128
142
Contributions are welcome, in the form of either issues or pull requests. Please
You can’t perform that action at this time.
0 commit comments