Skip to content

Commit 2bf4b72

Browse files
committed
add oci chart release for robusta
1 parent 282abd6 commit 2bf4b72

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
run: ./skaffold build --profile release --file-output=container-ids.json --tag='${{env.RELEASE_VER}}'
8383

8484
- name: Save artifact with tags of built containers
85-
uses: actions/upload-artifact@v4
85+
uses: actions/upload-artifact@v5
8686
with:
8787
name: container-ids
8888
path: container-ids.json
@@ -105,7 +105,7 @@ jobs:
105105
poetry publish --build -u __token__ -p ${{ secrets.PYPI_PROJECT_TOKEN }}
106106
107107
- name: Save artifact with helm chart
108-
uses: actions/upload-artifact@v4
108+
uses: actions/upload-artifact@v5
109109
with:
110110
name: helm-chart
111111
path: helm/robusta/
@@ -123,3 +123,15 @@ jobs:
123123
- name: Upload helm chart
124124
run: |
125125
cd helm && ./upload_chart.sh
126+
127+
- name: Login to GitHub Container Registry
128+
uses: docker/login-action@v3
129+
with:
130+
registry: ghcr.io
131+
username: ${{ github.actor }}
132+
password: ${{ secrets.GITHUB_TOKEN }}
133+
134+
- name: Push Helm chart to OCI registry
135+
run: |
136+
helm package helm/robusta
137+
helm push robusta-${{env.RELEASE_VER}}.tgz oci://ghcr.io/${{ github.repository_owner }}/charts

0 commit comments

Comments
 (0)