Update docker/login-action action to v2

This commit is contained in:
Renovate Bot 2022-05-16 03:16:17 +00:00
parent 0c393a8a9e
commit 0127c0c883
No known key found for this signature in database
GPG Key ID: 81C63AE1C224182B

View File

@ -32,13 +32,13 @@ jobs:
flavor: |
latest=true
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with:
registry: ghcr.io