File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 77
77
python-version : ${{ matrix.python-version }}
78
78
cache : ' pip'
79
79
80
+ - name : Log in to Docker Hub
81
+ uses : docker/login-action@v2
82
+ with :
83
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
84
+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
85
+
80
86
- name : Run tests
81
87
run : |
82
88
pip install -U setuptools wheel
@@ -144,9 +150,12 @@ jobs:
144
150
python-version : ${{ matrix.python-version }}
145
151
cache : ' pip'
146
152
147
- - name : Login to DockerHub
148
- run : |
149
- echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
153
+ - name : Log in to Docker Hub
154
+ uses : docker/login-action@v2
155
+ with :
156
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
157
+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
158
+
150
159
151
160
- name : Run tests
152
161
run : |
You can’t perform that action at this time.
0 commit comments