Skip to content

Commit

Permalink
Add DockerHub login step
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinqian00 committed Oct 12, 2023
1 parent d7b8b0e commit 1915187
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
- name: Setup CI environment
uses: yetanalytics/actions/[email protected]

- name: Log into DockerHub
if: ${{ matrix.target == 'test-unit' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Run Makefile Target ${{ matrix.target }}
run: make ${{ matrix.target }}

Expand Down

0 comments on commit 1915187

Please sign in to comment.