Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf717455

Browse files
authored
Add Helm chart as an artifact to releases (#18)
* Add Helm chart as an artifact to releasesFixes#17.* Test the workflow* Fix tag pushes
1 parentb661fb8 commitf717455

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

‎.github/workflows/release.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
with:
3838
go-version:"~1.20"
3939

40+
-name:Get Version
41+
run:echo "version=$(./scripts/version.sh)" >> $GITHUB_OUTPUT
42+
id:version
43+
4044
-name:Build
4145
run:./scripts/build.sh
4246

@@ -78,3 +82,20 @@ jobs:
7882
helm repo index build/helm --url https://helm.coder.com/logstream-kube --merge build/helm/index.yaml
7983
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/${version}.tgz gs://helm.coder.com/logstream-kube
8084
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/index.yaml gs://helm.coder.com/logstream-kube
85+
86+
-name:Create Release
87+
uses:actions/create-release@v1
88+
id:create_release
89+
with:
90+
release_name:${{ steps.version.outputs.version }}
91+
tag_name:${{ github.ref }}
92+
93+
-name:Upload Helm Release Asset
94+
uses:actions/upload-release-asset@v1
95+
env:
96+
GITHUB_TOKEN:${{ github.token }}
97+
with:
98+
upload_url:${{ steps.create_release.outputs.upload_url }}
99+
asset_path:build/${{ steps.version.outputs.version }}.tgz
100+
asset_name:helm.tar.gz
101+
asset_content_type:application/gzip

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp