Skip to content

Commit

Permalink
chore(cd): remove sudo for docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
bas-kirill committed Jul 21, 2024
1 parent 96e0aa0 commit 2d24707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
uses: actions/checkout@v4

- name: Log in to Docker Hub via token
run: echo "${{ secrets.DOCKER_HUB_TOKEN }}" | sudo docker login -u myshx --password-stdin
run: docker login -u myshx -p ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Build Docker Image
run: |
Expand Down

0 comments on commit 2d24707

Please sign in to comment.