Skip to content

Commit

Permalink
Use a secret for the docker hub username
Browse files Browse the repository at this point in the history
  • Loading branch information
sprat committed Oct 13, 2024
1 parent ff7ffb6 commit 4d5062b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build
Expand Down

0 comments on commit 4d5062b

Please sign in to comment.