Commit b47490a8
b47490a8b908Merged
Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 2 files ยท ~2 modified
Description
Tune goreleaser config
Details
- Commit
- b47490a8b908
- Parent
- f2a10489e277
.github/workflows/release.ymlmodifiedView file
@@ -4,12 +4,16 @@
44
pull_request:55
branches:66
- main7-
- '!dependabot/*'87
types:98
- closed109
push:1110
tags: ['*']1211
12+
permissions:13+
contents: write14+
packages: write15+
issues: write16+
1317
jobs:1418
tagger:1519
runs-on: ubuntu-latest@@ -77,7 +81,7 @@
7781
with:7882
registry: ghcr.io7983
username: ${{ github.repository_owner }}80-
password: ${{ secrets.CR_PAT }}84+
password: ${{ secrets.GITHUB_TOKEN }}8185
8286
- name: Login to Docker Hub8387
uses: docker/login-action@v1@@ -90,7 +94,7 @@
9094
go-version: 1.179195
9296
- name: Cache Go modules93-
uses: actions/[email protected]97+
uses: actions/cache@v29498
with:9599
path: ~/go/pkg/mod96100
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}@@ -103,4 +107,5 @@
103107
version: latest104108
args: release --rm-dist105109
env:106-
GITHUB_TOKEN: ${{ secrets.CR_PAT }}110+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}111+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.CR_PAT }}.goreleaser.ymlmodifiedView file
Loading diffโฆ