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: | flavor: |
latest=true latest=true
- name: Login to DockerHub - 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') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Registry - 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') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with: with:
registry: ghcr.io registry: ghcr.io