Skip to content

Prepare release v0.5.0 #2

Prepare release v0.5.0

Prepare release v0.5.0 #2

Workflow file for this run

---
name: release
on:
push:
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+'
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git submodule update --init --recursive go.mk
shell: bash
- name: Import GPG key
# This is a third-party GitHub action and we trust it with our GPG key.
# To be on the safer side, we should always pin to the commit SHA.
# It's not a perfect mitigation, but we should always do some due diligence before upgrading.
# The author seems trustworthy, as the author is part of the docker and goreleaser organizations on GitHub.
uses: crazy-max/ghaction-import-gpg@72b6676b71ab476b77e676928516f6982eef7a41
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: ./go.mk/.github/actions/release
with:
release_github_token: ${{ secrets.GITHUB_TOKEN }}