Skip to content

Commit 761645a

Browse files
authored
Update go.yml
1 parent 90e30a3 commit 761645a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ jobs:
8181
- name: Set up Docker Buildx
8282
uses: docker/setup-buildx-action@v3
8383
- name: Login to Docker Hub
84-
if: env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_PASSWORD != ''
84+
if: env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != ''
8585
uses: docker/login-action@v3
8686
with:
8787
username: ${{ secrets.DOCKERHUB_USERNAME }}
88-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
88+
password: ${{ secrets.DOCKERHUB_TOKEN }}
8989
- name: Login to GitHub Container Registry
9090
uses: docker/login-action@v3
9191
with:

0 commit comments

Comments
 (0)