Skip to content

Commit a73af11

Browse files
committed
Login to dockerhub. Attempt #2
1 parent 72c01a3 commit a73af11

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/integration.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ jobs:
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: |

0 commit comments

Comments
 (0)