Skip to content

Commit

Permalink
fix: add missing gh token for goreleaser, add v to docker image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Sep 11, 2022
1 parent 30a2937 commit 25d80ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
version: '1.11.2'
args: release --debug --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GO_VERSION: '1.19.1'
- name: Log in to Docker Hub
if: ${{ !contains(github.ref_name, '-') }}
Expand All @@ -65,5 +65,5 @@ jobs:
version: '1.11.2'
args: release --debug --rm-dist --release-notes=.changes/${{ github.ref_name }}.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GO_VERSION: '1.19.1'
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ dockers:
- skip_push: auto
image_templates:
- "omissis/goarkitect:latest"
- "omissis/goarkitect:{{ .Major }}"
- "omissis/goarkitect:{{ .Major }}.{{ .Minor }}"
- "omissis/goarkitect:v{{ .Major }}"
- "omissis/goarkitect:v{{ .Major }}.{{ .Minor }}"
- "omissis/goarkitect:{{ .Tag }}"

0 comments on commit 25d80ab

Please sign in to comment.