Skip to content

Commit

Permalink
chore: fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Niccolò Fei <[email protected]>
  • Loading branch information
NiccoloFei committed Mar 26, 2024
1 parent 74e3053 commit 34b561f
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
outputs:
is_latest: ${{ env.IS_LATEST }}
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Check release branch
run: |
Expand Down Expand Up @@ -118,13 +121,6 @@ jobs:
echo "COMMIT=${commit_short}" >> $GITHUB_ENV
echo "author_name=${author_name}" >> $GITHUB_OUTPUT
echo "author_email=${author_email}" >> $GITHUB_OUTPUT
-
name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
-
name: Set GoReleaser environment
run: |
Expand All @@ -142,7 +138,6 @@ jobs:
COMMIT: ${{ env.COMMIT }}
VERSION: ${{ steps.build-meta.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
-
name: Publish Krew
if: ${{ steps.check-branch.outputs.is_latest == 'true' }}
Expand Down Expand Up @@ -379,8 +374,7 @@ jobs:
if: |
(always() && !cancelled()) &&
needs.release-binaries.result == 'success' &&
needs.olm-bundle.result == 'success' &&
github.repository_owner == 'cloudnative-pg'
needs.olm-bundle.result == 'success'
env:
VERSION: ${{ needs.release-binaries.outputs.version }}
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -420,10 +414,3 @@ jobs:
git add bundles/${{ env.VERSION }}
git commit -sm "${COMMIT_MESSAGE}"
-
name: Push commit
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.REPO_GHA_PAT }}
repository: cloudnative-pg/artifacts
branch: "main"

0 comments on commit 34b561f

Please sign in to comment.