Skip to content

Commit 44b4b4d

Browse files
authored
ci: use access token for DockerHub login instead of password
1 parent a4cad1a commit 44b4b4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ jobs:
437437
docker build -t codecompass:web -t modelcpp/codecompass:${BRANCH_PREFIX}web-pgsql --file docker/web/Dockerfile --no-cache .
438438
439439
- name: Login to DockerHub
440-
uses: docker/login-action@v1
440+
uses: docker/login-action@v2
441441
with:
442-
username: ${{ secrets.DOCKER_USERNAME }}
443-
password: ${{ secrets.DOCKER_PASSWORD }}
442+
username: ${{ secrets.DOCKERHUB_USERNAME }}
443+
password: ${{ secrets.DOCKERHUB_TOKEN }}
444444

445445
- name: Push images
446446
run: |

0 commit comments

Comments
 (0)