From 7d2d799562337ec2c79ccffce42857bf0664516c Mon Sep 17 00:00:00 2001 From: Yelshat Duskaliyev Date: Sun, 10 Mar 2024 23:17:41 +0500 Subject: [PATCH] chore: upgrade login-action step --- .github/workflows/.go.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/.go.yaml b/.github/workflows/.go.yaml index a5ec20b..b38740b 100644 --- a/.github/workflows/.go.yaml +++ b/.github/workflows/.go.yaml @@ -3,7 +3,7 @@ name: build on: push: branches: [ master ] - tags: [ v* ] + tags: [ v* ] pull_request: jobs: @@ -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 }}