Skip to content

Commit aa17be7

Browse files
chore: docker auth
1 parent 4274381 commit aa17be7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
type=raw,value=gh-${{ github.run_id }}
4343
type=sha,format=short
4444
45-
# - name: Log in to Docker Hub
46-
# if: ${{ secrets.DOCKERHUB_USERNAME && secrets.DOCKERHUB_TOKEN }}
47-
# uses: docker/login-action@v3
48-
# with:
49-
# username: ${{ secrets.DOCKERHUB_USERNAME }}
50-
# password: ${{ secrets.DOCKERHUB_TOKEN }}
45+
- name: Log in to Docker Hub
46+
if: ${{ secrets.DOCKERHUB_USERNAME && secrets.DOCKERHUB_TOKEN }}
47+
uses: docker/login-action@v3
48+
with:
49+
username: ${{ secrets.DOCKERHUB_USERNAME }}
50+
password: ${{ secrets.DOCKERHUB_TOKEN }}
5151

5252
- name: Build and push Docker image
5353
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)