Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[github-actions] Update CI workflow to avoid login issues #182

Merged
merged 1 commit into from
May 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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