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 7777 python-version : ${{ matrix.python-version }}
7878 cache : ' pip'
7979
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+
8086 - name : Run tests
8187 run : |
8288 pip install -U setuptools wheel
@@ -144,9 +150,12 @@ jobs:
144150 python-version : ${{ matrix.python-version }}
145151 cache : ' pip'
146152
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+
150159
151160 - name : Run tests
152161 run : |
You can’t perform that action at this time.
0 commit comments