Skip to content

Commit

Permalink
Update docker/login-action version
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaMuravjov committed May 25, 2024
1 parent 5e2cb77 commit b940c85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dockerhub-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
type: string

# TODO ask admins to configure GitHub Secrets
docker_password:
description: 'DockerHub Password'
docker_token:
description: 'DockerHub Token'
required: true
type: string

Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
pytest test -v -m 'CI'"
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ github.event.inputs.docker_username }}
password: ${{ github.event.inputs.docker_password }}
password: ${{ github.event.inputs.docker_token }}

- name: Push Docker image
run: |
Expand Down

0 comments on commit b940c85

Please sign in to comment.