Skip to content

Commit

Permalink
change docker login from login-action to manual code
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Oct 18, 2024
1 parent 2c750fd commit c0296d5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- uses: actions/checkout@v3
- name: deploy to docker
run: |
Expand Down

0 comments on commit c0296d5

Please sign in to comment.