Skip to content

Commit 72db10e

Browse files
fix: docker auth
1 parent aa17be7 commit 72db10e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ jobs:
4343
type=sha,format=short
4444
4545
- name: Log in to Docker Hub
46-
if: ${{ secrets.DOCKERHUB_USERNAME && secrets.DOCKERHUB_TOKEN }}
4746
uses: docker/login-action@v3
4847
with:
49-
username: ${{ secrets.DOCKERHUB_USERNAME }}
50-
password: ${{ secrets.DOCKERHUB_TOKEN }}
48+
username: ${{ vars.DOCKERHUB_USERNAME }}
49+
password: ${{ secrets.DOCKERHUB_TOKEN }}
5150

5251
- name: Build and push Docker image
5352
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)