Skip to content

Commit 4cfa096

Browse files
committed
ci: fix dockerhub login
1 parent 5df5a4a commit 4cfa096

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/actions/dockerhub-login/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ runs:
66
run: |
77
docker login -u "$DOCKERHUB_USERNAME" --password-stdin <<< "$DOCKERHUB_PASSWORD"
88
shell: bash
9-
env:
10-
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
11-
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@ jobs:
4747
#needs: [ 'lint','test' ]
4848
steps:
4949
- uses: actions/checkout@v5
50-
- uses: ./.github/actions/dockerhub-login
50+
- name: dockerhub login (for seamless docker pulling)
51+
uses: ./.github/actions/dockerhub-login
52+
env:
53+
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
54+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
5155
- id: setup
5256
uses: ./.github/actions/setup
57+
5358
- run: poetry build
5459
- run: ci/run_tests.sh
5560
env:

0 commit comments

Comments
 (0)