Skip to content

Commit 721352c

Browse files
committed
added chart release
1 parent 1ce6b22 commit 721352c

File tree

11 files changed

+18
-1
lines changed

11 files changed

+18
-1
lines changed

.github/workflows/release.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,23 @@ permissions:
1111
packages: write
1212

1313
jobs:
14+
charts:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
fetch-depth: 0
20+
- run: git fetch --force --tags
21+
- uses: azure/setup-helm@v3
22+
with:
23+
version: latest
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
- run: |
26+
helm registry login ghcr.io --username=oauth-token --password=$GITHUB_TOKEN
27+
helm package charts/gitlab-goproxy --version $GITHUB_REF
28+
helm push "gitlab-goproxy-$GITHUB_REF.tgz" "oci://ghcr.io/$GITHUB_REPOSITORY/helm-charts"
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1431
goreleaser:
1532
runs-on: ubuntu-latest
1633
steps:
File renamed without changes.

chart/gitlab-goproxy/Chart.yaml renamed to charts/gitlab-goproxy/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
File renamed without changes.

0 commit comments

Comments
 (0)