diff --git a/.github/workflows/cr.yaml b/.github/workflows/cr.yaml new file mode 100644 index 0000000..5439574 --- /dev/null +++ b/.github/workflows/cr.yaml @@ -0,0 +1,5 @@ +# cr.yaml +# Use PGP signatures +sign: true +# UID of the GPG key to use +key: "operations@openproject.com" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e9880d..1484d02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,10 +23,26 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Prepare GPG key + run: | + gpg_dir=.cr-gpg + mkdir "$gpg_dir" + keyring="$gpg_dir/secring.gpg" + base64 -d <<< "$GPG_OPERATIONS_BASE64" > "$keyring" + passphrase_file="$gpg_dir/passphrase" + echo "$GPG_OPERATIONS_PASSPHRASE" > "$passphrase_file" + echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV" + echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV" + env: + GPG_OPERATIONS_BASE64: "${{ secrets.GPG_OPERATIONS_BASE64 }}" + GPG_OPERATIONS_PASSPHRASE: "${{ secrets.GPG_OPERATIONS_PASSPHRASE }}" + - name: Install Helm uses: azure/setup-helm@v3 - name: Run chart-releaser uses: helm/chart-releaser-action@v1.5.0 + with: + config: cr.yaml env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/charts/openproject/Chart.yaml b/charts/openproject/Chart.yaml index abc460f..cdaed22 100644 --- a/charts/openproject/Chart.yaml +++ b/charts/openproject/Chart.yaml @@ -6,7 +6,7 @@ home: "https://www.openproject.org/" icon: "https://www.openproject.org/assets/images/press/openproject-icon-original-color-41055eb6.png" type: "application" appVersion: "13" -version: "2.5.1" +version: "2.6.0" maintainers: - name: OpenProject url: https://github.com/opf/helm-charts