Skip to content

Commit

Permalink
fix: workflow (docker login)
Browse files Browse the repository at this point in the history
  • Loading branch information
konotorii committed Jun 2, 2024
1 parent 7771e94 commit 078b839
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
tags:
- '*'

permissions:
contents: write
permissions: read-all

jobs:
goreleaser:
Expand All @@ -22,6 +21,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker Login
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 078b839

Please sign in to comment.