3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 04:25:44 +00:00

Merge pull request #11446 from snipe/dependabot/github_actions/docker/login-action-2

Bump docker/login-action from 1 to 2
This commit is contained in:
snipe
2022-07-03 20:03:50 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ jobs:
- name: Login to DockerHub
# Only login if not a PR, as PRs only trigger a Docker build and not a push
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

View File

@ -51,7 +51,7 @@ jobs:
- name: Login to DockerHub
# Only login if not a PR, as PRs only trigger a Docker build and not a push
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}