Skip to content

Commit

Permalink
Merge pull request #1370 from krasimirdermendzhiev/fix-1204
Browse files Browse the repository at this point in the history
update release
  • Loading branch information
ThuF authored Dec 20, 2021
2 parents c64def6 + d5883b2 commit c7c594b
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,29 +533,13 @@ jobs:
cd charts-temp/helm-charts/dirigible/
find *.yaml -type f -exec sed -i ''s/#{DirigibleVersion}#/${{ env.DIRIGIBLE_VERSION }}/g'' {} \;
- id: install-secret-key
name: Install gpg secret key
run: |
cat <(echo -e "${{ secrets.GPG_SIGN_KEY }}") | gpg --batch --import --no-tty --batch --yes
- name: GPG configuration
run: |
echo use-agent >> ~/.gnupg/gpg.conf
echo pinentry-mode loopback >> ~/.gnupg/gpg.conf
echo no-tty >> ~/.gnupg/gpg.conf
echo batch >> ~/.gnupg/gpg.conf
echo allow-loopback-pinentry >> ~/.gnupg/gpg-agent.conf
echo RELOADAGENT | gpg-connect-agent
- name: Helm Charts Release
run: |
cp charts/* charts-temp/helm-charts/
cd charts-temp/helm-charts/
gpg --no-tty --batch --export-secret-keys > ~/.gnupg/secring.gpg
helm package --sign --key "Dirigible-gpg" --keyring /home/runner/.gnupg/secring.gpg dirigible
helm package dirigible
cd ..
helm repo index helm-charts/ --url https://eclipse.github.io/dirigible/charts
Expand Down

0 comments on commit c7c594b

Please sign in to comment.