Skip to content

Commit

Permalink
Update docker/login-action
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Feb 15, 2024
1 parent 8c688b5 commit 3792e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
if: vars.REGISTRY == 'ghcr.io'

- name: Log in to other container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY }}
username: ${{ secrets.REGISTRY_USERNAME }}
Expand Down

0 comments on commit 3792e34

Please sign in to comment.