Skip to content

Commit a782985

Browse files
committed
test helm
1 parent f191cbd commit a782985

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
tags:
66
- v*
7+
branches:
8+
- "*"
79

810
env:
911
REGISTRY: ghcr.io
@@ -35,11 +37,19 @@ jobs:
3537
with:
3638
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3739

38-
- name: Build and push Docker image
39-
id: push
40-
uses: docker/build-push-action@v6
41-
with:
42-
context: .
43-
push: true
44-
tags: ${{ steps.meta.outputs.tags }}
45-
labels: ${{ steps.meta.outputs.labels }}
40+
# - name: Build and push Docker image
41+
# id: push
42+
# uses: docker/build-push-action@v6
43+
# with:
44+
# context: .
45+
# push: true
46+
# tags: ${{ steps.meta.outputs.tags }}
47+
# labels: ${{ steps.meta.outputs.labels }}
48+
- name: helm login
49+
run: |
50+
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
51+
- name: helm package & puch
52+
working-directory: helm
53+
run: |
54+
helm package . --version v0.1.0
55+
helm push *.tgz oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/charts

0 commit comments

Comments
 (0)