Update docker/login-action action to v2
This commit is contained in:
parent
5335c5ea78
commit
640839a095
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
# only on tags or the master branch
|
||||
- name: Docker Login
|
||||
if: success() && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
Loading…
Reference in New Issue
Block a user