1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix: re-enable signing helm release (#4109)

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
This commit is contained in:
Moritz Johner 2024-11-18 13:29:25 +01:00 committed by GitHub
parent 4e6372bd47
commit df54ac9986
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,22 +92,20 @@ jobs:
- name: Generate chart
run: |
make helm.generate
## Temporarily removing - This is making the release break.
# - name: Import GPG key
# run: |
# echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --dearmor --output keyring.gpg
# echo "${{ secrets.GPG_PASSPHRASE }}" > passphrase-file.txt
- name: Import GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --dearmor --output keyring.gpg
echo -n "${{ secrets.GPG_PASSPHRASE }}" > passphrase-file.txt
- name: Run chart-releaser
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
if: |
github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/heads/release-')
env:
## Temporarily removing - This is making the release break
# CR_KEY: external-secrets <external-secrets@external-secrets.io>
# CR_KEYRING: keyring.gpg
# CR_PASSPHRASE_FILE: passphrase-file.txt
# CR_SIGN: true
CR_KEY: external-secrets <external-secrets@external-secrets.io>
CR_KEYRING: keyring.gpg
CR_PASSPHRASE_FILE: passphrase-file.txt
CR_SIGN: true
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_RELEASE_NAME_TEMPLATE: "helm-chart-{{ .Version }}"
with: