Skip to content

Update badge to 1.0.0 (#1333) #51

Update badge to 1.0.0 (#1333)

Update badge to 1.0.0 (#1333) #51

Workflow file for this run

name: Push Tags
on:
push:
tags:
- v[0-9].**
permissions:
contents: read
jobs:
goreleaser:
name: GoReleaser
runs-on: ubuntu-22.04
permissions:
# this is needed to create a release
contents: write
# this is needed to create artifacts in ghcr
packages: write
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
check-latest: true
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
with:
install-only: true
- name: Generate GitHub App Token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.PLATFORM_AUTOMATION_GH_APP_ID }}
private_key: ${{ secrets.PLATFORM_AUTOMATION_GH_APP_PEM_KEY }}
- name: Run GoReleaser
run: goreleaser release
env:
TAP_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}