Skip to content

Commit 983519b

Browse files
committed
workflow work
1 parent acd2583 commit 983519b

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,18 @@ jobs:
3737
- name: Generate values schema json
3838
uses: losisin/helm-values-schema-json-action@v1
3939
with:
40-
input: values.yaml
40+
input: seafile/values.yaml
4141

4242
- name: Add dependency chart repos
4343
run: helm repo add bitnami https://charts.bitnami.com/bitnami
4444

45-
# from https://blog.devops.dev/a-guide-to-signing-helm-charts-with-gpg-using-github-action-and-sign-images-on-artifacthub-958a23010e94
46-
#- name: Prepare GPG key #this step is for using exported keys and make your github runner
47-
# run: |
48-
# gpg_dir=.cr-gpg
49-
# mkdir "$gpg_dir"
50-
# keyring="$gpg_dir/secring.gpg"
51-
# base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
52-
# passphrase_file="$gpg_dir/passphrase"
53-
# echo "$GPG_PASSPHRASE" > "$passphrase_file"
54-
# echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
55-
# echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
56-
# env:
57-
# GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
58-
# GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
59-
60-
#- name: Run chart-releaser #this is used to generate new version of helm chart along with some file with extension .prov
61-
# uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 #v1.6.0
62-
# env:
63-
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
64-
# CR_KEY: "${{ secrets.CR_KEY }}"
65-
# CR_SIGN: true # set to true to sign images
45+
- name: Run chart-releaser
46+
uses: helm/[email protected]
47+
env:
48+
CR_GENERATE_RELEASE_NOTES: true
49+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
50+
with:
51+
charts_dir: .
6652

6753
# see https://github.com/helm/chart-releaser/issues/183
6854
- name: Login to GitHub Container Registry

0 commit comments

Comments
 (0)