OPA v1.14.0 (#1902) #69
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 | |
| with: | |
| go-version-file: go.mod | |
| check-latest: true | |
| - name: Install GoReleaser | |
| uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0 | |
| with: | |
| install-only: true | |
| - name: Run GoReleaser | |
| run: goreleaser release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |