File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -689,12 +689,6 @@ jobs:
689689 key : Unity-${{ github.head_ref }}
690690 restore-keys : Unity-
691691
692- - name : Login to DockerHub
693- uses : docker/login-action@v2
694- with :
695- username : ${{ vars.DOCKERHUB_USERNAME }}
696- password : ${{ secrets.DOCKERHUB_PASSWORD }}
697-
698692 - name : Run Unity tests
699693 uses : game-ci/unity-test-runner@v4
700694 with :
Original file line number Diff line number Diff line change 4040 uses : docker/login-action@v2
4141 with :
4242 username : ${{ vars.DOCKERHUB_USERNAME }}
43- password : ${{ secrets.DOCKERHUB_PASSWORD }}
43+ # Docker Hub access tokens are passed to docker/login-action via the password input.
44+ password : ${{ secrets.DOCKERHUB_TOKEN }}
4445 - name : Build and push
4546 uses : docker/build-push-action@v4
4647 with :
@@ -101,7 +102,8 @@ jobs:
101102 uses : docker/login-action@v2
102103 with :
103104 username : ${{ vars.DOCKERHUB_USERNAME }}
104- password : ${{ secrets.DOCKERHUB_PASSWORD }}
105+ # Docker Hub access tokens are passed to docker/login-action via the password input.
106+ password : ${{ secrets.DOCKERHUB_TOKEN }}
105107 - name : Build and push
106108 uses : docker/build-push-action@v4
107109 with :
Original file line number Diff line number Diff line change 1414 uses : docker/login-action@v2
1515 with :
1616 username : ${{ vars.DOCKERHUB_USERNAME }}
17- password : ${{ secrets.DOCKERHUB_PASSWORD }}
17+ # Docker Hub access tokens are passed to docker/login-action via the password input.
18+ password : ${{ secrets.DOCKERHUB_TOKEN }}
1819
1920 - name : Retag the image
2021 run : |
You can’t perform that action at this time.
0 commit comments