Skip to content

Commit 5f514a8

Browse files
committed
added chart release
1 parent f8c2f28 commit 5f514a8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: push image
1+
name: release
22

33
on:
44
push:
55
tags:
66
- v*
77

88
jobs:
9-
build-assets:
10-
name: build-assets
9+
release:
10+
name: release
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
@@ -25,6 +25,7 @@ jobs:
2525
- run: scripts/build
2626
- run: docker build --build-arg VERSION=$VERSION -t $IMAGE_NAME:$VERSION .
2727
- run: docker push $IMAGE_NAME:$VERSION
28+
- run: curl -s -u ${{ secrets.CHARTS_CREDENTIALS }} --data-binary @dist/speakerbob-$CHART_VERSION.tar.gz https://charts.jacobapayne.com/api/charts
2829
- uses: softprops/action-gh-release@v1
2930
if: startsWith(github.ref, 'refs/tags/')
3031
env:

0 commit comments

Comments
 (0)