Skip to content

Commit

Permalink
[github-actions] Update CI workflow to avoid login issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jstockwin committed May 5, 2021
1 parent 27cd546 commit 01de4a5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the tests container using cache
uses: whoan/docker-build-with-cache-action@tag-image-as-a-separate-step
- name: Build the tests docker container
uses: docker/build-push-action@v2
with:
username: "${{ secrets.DOCKER_USERNAME }}"
password: "${{ secrets.DOCKER_PASSWORD }}"
image_name: jstockwin/py-pdf-parser-test
image_tag: test
dockerfile: dockerfiles/Dockerfile_tests
context: .
file: dockerfiles/Dockerfile_tests
tags: jstockwin/py-pdf-parser-test:test
- name: Run linting
run: docker run --rm jstockwin/py-pdf-parser-test:test .github/scripts/lint.sh
- name: Run test
Expand Down

0 comments on commit 01de4a5

Please sign in to comment.