Merge pull request #8 from joshkunz/renovate/docker-login-action-2.x

Update docker/login-action action to v2
This commit is contained in:
Josh Kunz 2022-05-24 22:22:38 -07:00 committed by GitHub
commit 281209775c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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