Skip to content

Commit

Permalink
chore: upgrade login-action step
Browse files Browse the repository at this point in the history
  • Loading branch information
Semior001 committed Mar 10, 2024
1 parent 722b65f commit 7d2d799
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/.go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build
on:
push:
branches: [ master ]
tags: [ v* ]
tags: [ v* ]
pull_request:

jobs:
Expand Down Expand Up @@ -57,9 +57,10 @@ jobs:
- name: login to ghcr
id: docker_login
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
logout: false
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 7d2d799

Please sign in to comment.